2012-11-15 38 views
0

我登录到FTP服务器,并使用我们自己的服务器红宝石版和宝石:对FTP使用RVM给出错误“RVM不是一个函数...”

rvm use [email protected]'...' 

但我得到的错误:

RVM is not a function, selecting rubies with 'rvm use...' will not work. 

难道我这个附加:[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm".bashrc?或者这里的情况如何?

在此先感谢您的帮助。

编辑:我发现这只发生在我在服务器上运行“屏幕”会话。为什么是这样?

回答