L
levander
On my Ubuntu Feisty box a few months ago, I installed rubygems 0.9.0 in
/opt/rubygems by:
export GEM_HOME=/opt/rubygems/lib/ruby/gems/1.8
export RUBYLIB=/opt/rubygems/lib/ruby:/opt/rubygems/lib/site_ruby/1.8
sudo ruby setup.rb --prefix=/opt/rubygems
This worked fine for playing with installing a few gems and running some
software that accessed them.
Coming back to play with them today, I ran:
sudo gem update --system
From the output of that command, none of the updated files went into
/opt/rubygems. Most of them went into /usr/local/lib/site_ruby, but it
looks like other files went other places too. gem went right down into
/usr/bin.
1.) I'm thinking I can just read the output of the update command I ran
and delete the files manually that it put everywhere? Is there an
easier, more sure, way?
2.) Also, I've looked on docs.rubygems.org and can't find how to run
this command so that the system update will go into /opt/rubygems?
/opt/rubygems by:
export GEM_HOME=/opt/rubygems/lib/ruby/gems/1.8
export RUBYLIB=/opt/rubygems/lib/ruby:/opt/rubygems/lib/site_ruby/1.8
sudo ruby setup.rb --prefix=/opt/rubygems
This worked fine for playing with installing a few gems and running some
software that accessed them.
Coming back to play with them today, I ran:
sudo gem update --system
From the output of that command, none of the updated files went into
/opt/rubygems. Most of them went into /usr/local/lib/site_ruby, but it
looks like other files went other places too. gem went right down into
/usr/bin.
1.) I'm thinking I can just read the output of the update command I ran
and delete the files manually that it put everywhere? Is there an
easier, more sure, way?
2.) Also, I've looked on docs.rubygems.org and can't find how to run
this command so that the system update will go into /opt/rubygems?