On Thu, Jul 9, 2009 at 6:32 AM, Frederick Cheung<[email protected]> wrote: > > > > On Jul 9, 9:59 am, Pål Bergström <[email protected]> > wrote: >> Rick Denatale wrote: >> > On Wed, Jul 8, 2009 at 5:25 PM, Colin Law<[email protected]> wrote: >> > rake rails:freeze:gems >> >> A possibly stupid question, but why do I get a .gem directory in my home >> directory when I do freeze? Well I get the idea, but why not keep the >> .gem in the app root or somewhere? What happens with my other apps >> running, they will use the .gem too, right? >> > > .gem isn't used for frozen stuff. It's something gem does in some > cases when ran as a user that can't write to the system wide gem > location.
Yep, one of my peeves with gem is that it does this. I always want gems to be installed in the system location, if I forget to sudo gem I don't want it to be installed in my home directory. I finally removed all permisions from my ~/.gem directory so if I forget, it let's me know rather than giving me a useless install. chmod 000 ~/.gem -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

