【发布时间】:2011-12-19 04:08:42
【问题描述】:
我刚刚使用以下命令在我的机器上安装了 rvm
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
并在我的终端中得到了这个
Installation of RVM to /home/rahul/.rvm/ is complete.
当我转到/home/rahul/.rvm/ 时,我能够看到所有必要的文件夹,但是当我在终端中发出 rvm 命令时,我得到了这个错误
rvm --version
No command 'rvm' found, but there are 19 similar ones
rvm: command not found
我该如何解决?
编辑
我还在 bashrc 中添加了以下几行
if [[ -n "$PS1" ]]; then
if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi
fi
【问题讨论】:
-
你能给出
where rvm和$PATH的输出吗? -
RVM on Ubuntu Troubles 的可能重复项
-
如果您还没有阅读
rvm notes,请尝试阅读