-1
默認版本,當我做ruby -v
它顯示如何設置RVM紅寶石作爲系統
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。
感謝您的快速回復。你能告訴我如何編輯.bash_profile嗎? – 2014-09-18 18:11:22
@AkhilSharma使用任何文本編輯器 – 2014-09-18 18:13:02
但它位於系統中的位置? – 2014-09-18 18:14:36