On 30/09/2009, at 3:08 PM, David Parry wrote: > > On 30/09/2009, at 2:23 PM, Ben Hoskings wrote: >> My problem with using the system-installed ruby is that every time >> you >> "sudo gem install", you're changing the base system. There's a really >> good writeup in the homebrew README under "Don't sudo": >> http://github.com/mxcl/homebrew > > I simply set my GEM_HOME and GEM_PATH in ~/.profile to this: > [ ... ]
Nice, I like that solution a lot. In fact that could be a good solution. Deps like 'gems installed' will just pull in whatever gems are required with no intervention, so each user (or server account) independently pulls the gems they need. There would be some duplication of gems across accounts, but since it's automated (and gems are pretty small) I think that would be fine. It would also sidestep some of the sudoing that's currently required. - Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---
