I am working on ubuntu and rvm. In any case, I tried to use sudo gem (any command), it does not recognize gem as a command. Also, if I use the gem separately, like:
gem install rails
ERROR: Could not find a valid gem 'rails' (>= 0) in any repository
ERROR: Possible alternatives: rails
I got this error. I see no reason.
rvm version 1.10.3 ruby ββversion 1.8.7 gem version 1.6.7
What is the possible reason for this?
source
share