Skip to content
Advertisement

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

Advertisement

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
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement