以下是我安装RVM所采取的步骤:
安装Ruby:sudo apt-get install curl git-core ruby
哪个ruby命令可以正常工作
安装RVM:
curl -L https://get.rvm.io | bash -s stable --ruby --rails --trace
我的用户是/home/loam/.bashrc
中的“loam”我已将其添加到文件的最后一行。
if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi
fi
将[ -z "$PS1" ] && return
替换为if [[ -n "$PS1" ]]; then
当RVM脚本完成后,我收到了消息:
* To start using RVM you need to run `source /home/loam/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
我确实尝试过并得到了:
$ source /home/loam/.rvm/scripts/rvm
-sh: source: not found
Which rvm
空白 ..我可以看到/home/loam
如果我写:
$ $HOME
-sh: /home/loam: Permission denied
更新 我也尝试了Single-User Install Location: ~/.rvm/ ..而且sv哪个rvm是空白的。