27
Aug
Updating RubyGems to 1.2 (Manually)
This is what happened when I want to install rmagick gem.
1 2 3 | username@username-desktop:~$ sudo gem install rmagick Bulk updating Gem source index for: http://gems.rubyforge.org/ ERROR: could not find rmagick locally or in a repository |
What the hell…
After some googling I found that RubGems 1.1.x is buggy and and update to RubyGems 1.2 is necessary.
To learn your RubyGems version:
1 2 | username@username-desktop:~$ gem -v 1.1.0 |
I try to update RubyGems :
1 2 3 4 | username@username-desktop:~$ sudo gem update --system Updating RubyGems Bulk updating Gem source index for: http://gems.rubyforge.org/ Nothing to update |
After this failed attempt, I realized that RubyGems 1.1.x is really buggy. So I must go on manually to update RubyGems.
Now the solution:
- Download rubygems-update-1.2.0.gem
-
Change your directory where your downloaded gem is. In these example my gem is at Desktop.
Now you must install rubygems-update-1.2.0.gem.1 2
username@username-desktop:~$ cd Desktop/ username@username-desktop:~/Desktop$ sudo gem install rubygems-update-1.2.0.gem
-
1
username@username-desktop:~$sudo update_rubygems
To check if our process is successful :
1 2 | username@username-desktop:~$gem -v 1.2.0 |
If you see 1.2.0, you did it.


Recent Comments
Thanks a lot man, worked like a charm. !!...
Ciaran