Created
September 28, 2011 21:58
-
-
Save Astr0surf3r/1249375 to your computer and use it in GitHub Desktop.
Error to install rails on DEBIAN 6.0 machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#after I type the follow command | |
root@debian:/# !g rvm install | |
#appear that | |
gem install rails -v=3.0.10 rvm install | |
Successfully installed rails-3.0.10 | |
ERROR: Could not find a valid gem 'rvm' (= 3.0.10) in any repository | |
ERROR: Possible alternatives: rvm | |
ERROR: Could not find a valid gem 'install' (= 3.0.10) in any repository | |
1 gem installed | |
Installing ri documentation for rails-3.0.10... | |
file 'lib' not found | |
Installing RDoc documentation for rails-3.0.10... | |
file 'lib' not found | |
root@debian:/# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed out! from root add at bottom of ~/.bashrc file the following line:
[[ -s "/usr/local/rvm/scripts/rvm" ]] && source "/usr/local/rvm/scripts/rvm"
after type from root # gem install rails --version 3.x.x
to verify that worked run
rails -v