RVM might be the best tool to manage a per-user Ruby install and the required 
gem dependencies:

http://rvm.beginrescueend.com/

I haven't used it on Linux, but I've been using it successfully on OSX for the 
last 6+ months.

Hope that helps.
p.

On Aug 1, 2010, at 9:49 AM, Bothari wrote:

> Group,
> 
> I think I'm stumbling over an environment setting, but I can't see
> where it is.  I'm trying to upgrade some Ubuntu 10 boxes that have
> rubygems installed via apt-get, and they are stuck on version 1.2.
> The gem list --remote comand doesn't work (cant remember the error
> now) but it's complaining about not being able to get to rubyforge,so
> I think the rubygems install is just too old.
> 
> Naturally, I don't have root access on these boxes, so I'd like to try
> and install rubygems in the user directory.  It's for a class
> (starting Monday) so it doesn't need to be a permanent solution.
> 
> I've downloaded, installed via ruby setup.rb --prefix ~/rubygems137,
> but when I run ~/rubygems137/bin/gem --version, I get the old version.
> 
> I've tried resetting the gem_home and gem_path environment variables,
> but it keeps running the old version.
> 
> What else?
> Joe
> -- 
> "There are only two industries that refer to their customers as
> ‘users’." - Edward Tufte
> _______________________________________________
> Bdrg-members mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/bdrg-members

--
Patrick Reagan <[email protected]>





_______________________________________________
Bdrg-members mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/bdrg-members

Reply via email to