0
我在本地机器上安装了ruby-2.0.0-p0。当我部署我的Rails应用程序时,出现了很多错误,我修复了它,并且它正在运行。但同样,1天后,我尝试在运行相同的应用程序,我得到这个消息Capistrano在.rvmrc文件中部署错误
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'
我已经把rvm use [email protected]
代码在我.rvmrc文件。我是否需要改变它或做其他事情。
哎,我改变我的本地机器RVM使用Ruby-2.0.0-P0 .rmvrc文件,但不不是服务器中的.rmvrc。我将相同的ruby-2.0.0-p195放入服务器的.rmvrc文件中 –