Please enter your username below and press the send button.A password reset link will be sent to you.
If you are unable to access the email address originally associated with your Delicious account, we recommend creating a new account.
Recently Saved by twtw on October 26, 2011
First saved by c0d3x42 on November 24, 2008
What happens when Ubuntu wants to update rubygems?
Posted by Joe at 19:56
That’s a better error message than I get on Hardy.
$ sudo gem update --system
Nothing to update
$ sudo gem update --debug --system
Exception `NameError' at /usr/local/lib/site_ruby/1.8/rubygems/command_manager.rb:134 - uninitialized constant Gem::Commands::UpdateCommand
Nothing to update
Zach’s suggestion worked for me.
Posted by James Abley at 20:58
apt-get install rubygems
on 8.10 only brings you up to 1.2.0.
Using update_rubygems directly on a virgin 8.10 system doesn’t work for me, but does provide an alternate means to get access to a
that does do the trick.
$ sudo gem install update_rubygems $ sudo update_rubygems sudo: update_rubygems: command not found $ sudo /var/lib/gems/1.8/gems/rubygems-update-1.3.1/bin/update_rubygems Error: Cannot find RubyGems Update Path! RubyGems has already been updated. The rubygems-update gem may now be uninstalled. E.g. gem uninstall rubygems-update $ cd /var/lib/gems/1.8/gems/rubygems-update-* $ sudo ruby setup.rb $ gem -v 1.3.1
Posted by Sam Ruby at 21:00
OK, I had better luck with the following:
$ sudo gem install update_rubygems $ cd /var/lib/gems/1.8/bin $ sudo ./update_rubygems $ gem -v 1.3.1 $ sudo gem install rails
I also seem to need
installed in order to run
Posted by Sam Ruby at 23:28
Mon 24 Nov 2008
In order to avoid conflicts with system updates wouldn’t it make more sense to change GEM_HOME to allow non-super install? I would post a link with more info but I am on my phone.
Posted by Matt Haley at 00:11
What version of Ruby are people using on Ubuntu 8.10 for Rails development? Are people using the supplied 1.8.7?