I'm trying to comprehend the Unix file system on my OSX. I'm following wikipedia Filesystem Hierarchy Standard.
I understand when I install ruby gems I must use the command sudo gem install
but if I omit sudo, problems may occur.
- Where are gems installed within the file system when I omit sudo?
- How can I delete these gems?
- A Fun side question: When I enter
cd ~/.gem
my terminal is directed to.gem user$
, When I enter cd ~/ and list folders using the ls command I can't find a .gem folder. Where is the .gem folder? How does this fit into the Filesystem?