Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get RubyGems 1.3.6 on Ubuntu 10.4

Tags:

rubygems

I've just installed a new vm (VirtualBox) with Ubuntu 10.4 and Ruby1.9.1. I've got the package for RUbyGems1.9.1 but when I do gem --version I still get 1.3.5.

like image 418
CountCet Avatar asked May 06 '10 01:05

CountCet


People also ask

How do I change RubyGems version?

To upgrade a gem to a specific version for a Ruby application, do the following steps: Open the Gemfile. Specify the version number in front of the gem. Run bundle install .

How do I get RubyGems?

Open up the 'Software Center' app from your launcher and type in `RubyGems` without quotes into the application search box at the top right, and press [enter]. RubyGems then can be installed by just clicking on the button labeled 'Install', thats it.

How do I check RubyGems version?

If this is the case, you can look on /usr/lib/ruby/gems/1.8/gems/rubygems-update-x.x.x and take the directory with the highest value of x.x.x.


1 Answers

I got it working using

gem install rubygems-update cd /var/lib/gems/1.9.1/bin sudo ./update_rubygems 
like image 125
CountCet Avatar answered Nov 08 '22 10:11

CountCet