Ubuntu服务器10.04 LTS-如何安装RVM?
以下是我安装RVM所采取的步骤:Ubuntu服务器10.04 LTS-如何安装RVM?,ubuntu,rvm,ubuntu-10.04,Ubuntu,Rvm,Ubuntu 10.04,以下是我安装RVM所采取的步骤: 安装Ruby:sudo apt get install curl git core RubyRuby命令的作用 安装RVM: curl-L | bash-s stable--ruby--rails--trace 我的用户是/home/loam/.bashrc中的“loam”,我已将其添加到文件的最后一行 if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi fi
sudo apt get install curl git core Ruby
Ruby命令的作用/home/loam/.bashrc
中的“loam”,我已将其添加到文件的最后一行
if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi
fi
并将[-z“$PS1”]&&return
替换为if[-n“$PS1”];然后
完成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
哪个rvm
为空白。。我可以看到/home/loam
如果我写:
$ $HOME
-sh: /home/loam: Permission denied
更新:
我也试过。。和仍然哪个rvm为空 使用此指令=>将shell设置为
/bin/bash--login
您是否尝试过sh source/home/loam/.rvm/scripts/rvm
?刚刚尝试过:sh:cannotopensource
是否source
位于$PATH变量的某个目录中?您的意思是什么<代码>$echo$HOME/HOME/loam很抱歉,我是ubuntu新手..>>_