$ source ~/.bashrc
-bash: /root/.rvm/scripts/rvm: 没有那个文件或目录
?????????
变量问题?
怎么设置呢?
——————————
不是高 IT 的,
想安装部署 Rabel 一直折腾不明白,囧
#1 楼 @jiyinyiyong 我就是按照这个文档安装的呀,在 ubuntu12.04 上,
`$ curl -L get.rvm.io | bash -s stable
到$ source ~/.bashrc
就出错了,
每次 SSH 登录就会提示-bash: /root/.rvm/scripts/rvm: 没有那个文件或目录
@jiyinyiyong https://rvm.io/rvm/install/
Multi-User:
The rvm function will be automatically configured for every user on the system if you install with sudo. This is accomplished by loading /etc/profile.d/rvm.sh on login. Most Linux distributions default to parsing /etc/profile which contains the logic to load all files residing in the /etc/profile.d/ directory. Once you have added the users you want to be able to use RVM to the rvm grou p, those users MUST log out and back in to gain rvm group membership because group memberships are only evaluated by the operating system at initial login time. Zsh not always sources /etc/profile so you might need to add this in /etc/**/zprofile:
source /etc/profile