new*_*ser 1 ruby linux install ruby-on-rails rvm
我已经使用VirtualBox在Vista主机上成功安装了Debian客户操作系统.我正在尝试按照本教程(http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you)安装RVM和Ruby.它似乎成功安装了ruby,但终端根本不会识别ruby.
这是终端输出:
user@debian:~$ rvm install 1.9.2
/home/user/.rvm/rubies/ruby-1.9.2-p136, this may take a while depending on your cpu(s)...
ruby-1.9.2-p136 - #fetching
ruby-1.9.2-p136 - #downloading ruby-1.9.2-p136, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8612k 100 8612k 0 0 200k 0 0:00:42 0:00:42 --:--:-- 328k
ruby-1.9.2-p136 - #extracting ruby-1.9.2-p136 to /home/user/.rvm/src/ruby-1.9.2-p136
ruby-1.9.2-p136 - #extracted to /home/user/.rvm/src/ruby-1.9.2-p136
ruby-1.9.2-p136 - #configuring
ruby-1.9.2-p136 - #compiling
ruby-1.9.2-p136 - #installing
ruby-1.9.2-p136 - updating #rubygems for /home/user/.rvm/gems/ruby-1.9.2-p136@global
ruby-1.9.2-p136 - updating #rubygems for /home/user/.rvm/gems/ruby-1.9.2-p136
ruby-1.9.2-p136 - adjusting #shebangs for (gem).
ruby-1.9.2-p136 - #importing default gemsets (/home/user/.rvm/gemsets/)
Install of ruby-1.9.2-p136 - #complete
user@debian:~$ ruby -v
bash: ruby: command not found
Run Code Online (Sandbox Code Playgroud)
我不知道出了什么问题或怎么在这里继续.我很感激任何人都能提供的见解.
谢谢
试试rvm use 1.9.2
.现在它可能默认为系统ruby,如果你没有系统ruby,那么,它默认为什么都没有.