【发布时间】:2014-11-13 04:38:21
【问题描述】:
当我执行ruby -v 时,它会显示
The program 'ruby' can be found in the following packages:
* ruby1.8
* ruby1.9.1
Try: sudo apt-get install <selected package>
和
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for an example.
当我运行 /bin/bash --login 然后运行 ruby -v 它显示
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
但我不想每次都运行/bin/bash --login 命令。我希望我的系统将 ruby 2.1.0 设置为 rvm 的默认 ruby。
【问题讨论】:
标签: ruby-on-rails ruby rvm