awmusic12635 awmusic12635 - 4 months ago 69
Linux Question

Gem Command not found

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

Are you wanting ruby gems? If so, you need to install libgemplugin-ruby and then the ruby 'gem' program will be in your path:

aptitude install libgemplugin-ruby
Comments