Forum: Ruby on Rails Hidden file

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ron G. (Guest)
on 2008-11-24 07:59
(Received via mailing list)
Does anyone know the purpose of a hidden file called ".gems" in my
home folder on os x?
Rick (Guest)
on 2008-11-24 11:31
(Received via mailing list)
That's where gems will be installed if  you run a "gem install ..."
command and you don't have permission to create files in the default
gem directory.  If you run "sudo gem install ..." the gems will be
installed in the default location.

Rick
Ron G. (Guest)
on 2008-11-24 22:07
(Received via mailing list)
Yes, but I keep deleting the folder and it keeps coming back. It's
empty but it keeps re-appearing.
Rick (Guest)
on 2008-11-25 06:51
(Received via mailing list)
Hi Rong,

Have you been loading gems?  I'm not sure which part of RoR causes it
to be created but you can think of it like your shell history file.
One or more of the applications you run regularly use that file for
book keeping and startup configuration.

I wouldn't worry about it too much but you could keep deleting it and
see if it gets recreated as part of one of your favorite apps is run.

Rick
This topic is locked and can not be replied to.