我已经在Debian 7服务器上完成了RVM的多用户安装。我的项目使用Ruby v2.2.2和一个gemset。在我的项目根目录下,有一个名为.ruby-version的文件,其中包含以下内容2.2.2@my-project-name
现在,当我进入我的项目目录时,会出现以下错误:
Regenerating ruby-2.2.2 wrappers........
rm: cannot remove `/usr/local/rvm/gems/ruby-2.2.2/environment': Permission denied
/usr/local/rvm/scripts/functions/environment: line 93: /usr/local/rvm/gems/ruby-2.2.2/environment: Permission denied
/usr/local/rvm/scripts/functions/environment: line 99: /usr/local/rvm/gems/ruby-2.2.2/environment: Permission denied
/usr/local/rvm/scripts/functions/environment: line 99: /usr/local/rvm/gems/ruby-2.2.2/environment: Permission denied
/usr/local/rvm/scripts/functions/environment: line 99: /usr/local/rvm/gems/ruby-2.2.2/environment: Permission denied
/usr/local/rvm/scripts/functions/environment: line 99: /usr/local/rvm/gems/ruby-2.2.2/environment: Permission denied
/usr/local/rvm/scripts/functions/environment: line 100: /usr/local/rvm/gems/ruby-2.2.2/environment: Permission denied
/usr/local/rvm/scripts/functions/environment: line 100: /usr/local/rvm/gems/ruby-2.2.2/environment: Permission denied
/usr/local/rvm/scripts/functions/environment: line 99: /usr/local/rvm/gems/ruby-2.2.2/environment: Permission denied
有什么方法可以解决这个问题吗?
请帮忙,谢谢。
/usr/local/rvm/scripts/functions/environment
的90-100行吗? - Aleksei Matiushkin