Hi Brian, Thanks for the tip, that might be really interesting, especially since I already drag my home directory around with me via git. When you say its easy to move from machine to machine, do you have problems with moving between architectures or operating systems?
Thanks, Rob On Fri, Feb 6, 2009 at 13:03, Brian Chapados <[email protected]> wrote: > > FWIW, I've been keeping all of my gems in ~/.gems after reading this: > http://ozmm.org/posts/local_gems.html > > Your gems are easy to backup, and it's easy to use the same set of > gems with different ruby installations. I also frequently need to work > on systems where I don't have sudo/root access. Installing gems in my > home dir allows makes it easy to maintain a consistent ruby > environment. > > Brian > > On Feb 6, 11:08 am, Glenn Little <[email protected]> wrote: >> In trying to get postgres working under ruby2.2.2 (an issue for >> a separate email), I installed the ruby-pg gem: >> >> % sudo gem install ruby-pg >> >> Then I read on this page: >> >> http://rubyforge.org/forum/forum.php?forum_id=21187 >> >> that "the gem for ruby-pg is named 'pg'". Not sure what that really >> means, but okay, I did: >> >> % sudo gem install pg >> >> Now, I cannot uninstall ruby-pg: >> >> % sudo gem uninstall ruby-pg >> ERROR: While executing gem ... (Gem::InstallError) >> Unknown gem ruby-pg >= 0 >> >> Same behavior if I uninstall pg first. >> >> Anyone have any ideas? In this email, in particular, how to uninstall >> that gem so I can get a clean start? >> >> Thanks much... >> >> -glenn > > > --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---
