我的本地机器上有ruby-2.0.0-p0。当我部署我的rails应用程序时,我得到了很多错误,我已经修复了它,它正在运行。但是,再一次,在1天后,我尝试运行相同的应用程序,我收到以下消息
You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers,
you can switch to '.ruby-version' using 'rvm rvmrc to [.]ruby-version'
or ignore this warnings with 'rvm rvmrc warning ignore /home/Desktop/PV-NEC/pv-nec/.rvmrc',
'.rvmrc' will continue to be the default project file in RVM 1 and RVM 2,
to ignore the warning for all files run 'rvm rvmrc warning ignore all.rvmrcs'.
ruby-2.0.0-p195 is not installed.
To install do: 'rvm install ruby-2.0.0-p195'我已经在我的.rvmrc文件中放置了rvm use ruby-2.0.0-p195@rails3代码。我是否需要更改它或执行其他操作。
发布于 2013-05-30 14:33:30
首先安装ruby,如命令错误所示:
rvm install ruby-2.0.0-p195并使用命令创建适当的gemset
rvm gemset create gemset_name然后输入以下内容,从.rvmrc切换到.ruby-version + .ruby-gemset
rvm rvmrc to .ruby-versionhttps://stackoverflow.com/questions/16828115
复制相似问题