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.