Error when installing gem on debian lenny

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

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.

Entry filed under: Linux. Tags: , , , , , .

Inca putin… Solution for error: /usr/bin/mandb: can’t set the locale; make sure $LC_* and $LANG are correct

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


 

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