我已经安装了 rvm,带有 ruby 1.8.7、ruby1.9.2 和 ruby1.9.3,
当我尝试时,
>sudo gem install passenger
sudo: gem: command not found
>sudo ruby -v
sudo: ruby: command not found
>rvm list
rvm rubies
ruby-1.8.7-p371 [ x86_64 ]
=* ruby-1.9.2-p320 [ x86_64 ]
ruby-1.9.3-p392 [ x86_64 ]
# => - current
# =* - current && default
# * - default
>sudo su
># ruby -v
The program 'ruby' can be found in the following packages:
* ruby1.8
* ruby1.9.1
Try: apt-get install <selected package>
我意识到我的系统中没有默认的 ruby。我的目标是安装乘客以在 localhost 中使用 apache 对其进行配置以启用 HTTPS。如何从当前设置继续