Archive for 26/08/2010

Error when installing gem on debian lenny

Got this eror when trying to install a ruby gem?

ERROR:  could not find gem “your_gem” locally or in a repository

Then your rubygems most probably is outdated. I spent couple of hours searching the internet for a solution regarding this problem and found anything then what I needed. Finally I found the solution: update rubygems.

Dowload rubygems and rubygems1.8 packages from debian backports:

cd /tmp

wget http://backports.mithril-linux.org/pool/main/libg/libgems-ruby/rubygems1.8_1.3.4-1~bpo50+1_all.deb

wget http://backports.mithril-linux.org/pool/main/libg/libgems-ruby/rubygems_1.3.4-1~bpo50+1_all.deb

dpkg -i /tmp/rubygems1.8_1.3.4-1~bpo50+1_all.deb

dpkg -i /tmp/rubygems_1.3.4-1~bpo50+1_all.deb
After this you can go on installing your gem.

26/08/2010 at 17:31 Leave a comment


 

August 2010
M T W T F S S
« Jun   Sep »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Follow

Get every new post delivered to your Inbox.

Join 31 other followers