Advertisements

GEM: Command not Found

Postby micsteel » Tue Feb 01, 2011 3:33 am

Offline
micsteel
Posts: 1
Joined: Tue Feb 01, 2011 3:19 am
I am really new and have not done any programming in a long time so this may seem like a dumb question but - When I do this step:
3. Now use RubyGems to install Rails. Still in the Terminal application, issue the following command.

tp> sudo gem install rails --include-dependencies

I get a return statement - sudo: gem: command not found

Any suggestions about what is happening. I am showing a ruby version 1.8.2

Thank you!
Mike Steelman

Postby hannah1 » Thu Mar 17, 2011 2:22 pm

Offline
hannah1
Posts: 1
Joined: Thu Mar 17, 2011 2:17 pm
I think you have to add line to your ~/.bashrc so that you don't have to type in this command each time.

Postby bornaresagar » Tue Feb 21, 2012 8:30 pm

Offline
bornaresagar
Posts: 1
Joined: Tue Feb 21, 2012 8:28 pm
If you are on windows platform try setting the PATH variable in environment variable it may resolve your issue.