Ruby – Gem Command not found

linuxrubyrubygems

I have installed gem on Ubuntu 10.10 32 bit with

apt-get install gem -y

But when I try to run

gem install something.gem

I get the error of the command not being found.

bash: gem: command not found

I installed gem, is there any reason it is saying it can't find the command?

These files were install by gem package

http://pastie.org/3483416

Best Answer

Try the following:

sudo apt-get install rubygems