Gem Command not found

awmusic12635 picture awmusic12635 · Feb 28, 2012 · Viewed 137.1k times · Source

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

Answer

Thomas picture Thomas · Dec 15, 2013

Try the following:

sudo apt-get install rubygems