新手问题 rvm 环境没有自动载入

zhenbeiju · August 22, 2014 · Last by zhenbeiju replied at August 22, 2014 · 1782 hits

系统是 ubuntu 14.04 桌面版,

按照 wiki 安装的 ruby:

然后,载入 RVM 环境(新开 Termal 就不用这么做了,会自动重新载入的)

$ source ~/.rvm/scripts/rvm

新开 Termal 没有自动载入环境,请问怎么解决

TRY: make this the LAST line in /home/your-name/.bashrc

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

#1 楼 @libuchao 手动加上以后可以了,谢谢

You need to Sign in before reply, if you don't have an account, please Sign up first.