我已安装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。我的目标是安装Passenger并将其配置到本地Apache上,以启用HTTPS。从我的当前设置开始,我该如何继续?