Ruby on rails RVM版本[1.19.1]需要更改.rvmrc文件
信息:Ruby on rails RVM版本[1.19.1]需要更改.rvmrc文件,ruby-on-rails,ruby,rvm,Ruby On Rails,Ruby,Rvm,信息: 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 /Users/wad
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 /Users/wadawadabingbang/Sites/my_amazing_fn_website/.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版本是
ruby-1.9.3-p385
如果您不想更改您运行的所有项目中的.rvmrc
文件(正如Yule所说)rvm rvmrc warning ignore all.rvmrcs
。它将忽略所有项目的此警告消息
如果您不想仅为该项目更改
.rvmrc
文件,请运行rvm rvmrc warning ignore/Users/wadawadabingbang/Sites/my_askazing\u fn\u website/.rvmrc
但是,此消息建议将.rvmrc
移动到新系统。要做到这一点,您只需要在ruby版本中创建.ruby版本
:1.9.3-p385
并删除.rvmrc。就这样
希望这有帮助。我将.rvmrc重命名为.ruby版本,并更改了内容 从 到 之后应该工作
rvm获取头部
它对我有效这与的答案类似,但您不必键入目录名。我已在我的.profile
中设置了一个名为rvm_trust
的别名,以便为我运行此功能
rvm rvmrc warning ignore `pwd`/.rvmrc
只需将手指伸进耳朵,然后运行
rvm rvmrc warning ignore all.rvmrcs
Never。我永远不会。你能不能帮我澄清一下。所以,当RVM从.rvmrc版本文件移到.ruby版本文件时,我们都应该更改吗?从.rvmrc版本移到.ruby版本不是强制性的。这是对统一ruby版本管理器的建议,因为rbenv使用.ruby版本。如果您不想在所有项目中进行更改,只需运行rvm rvmrc warning ignore all.rvmrcs
+1以包括@GEMSET文档,而公认的答案实际上并不这样做。
ruby-2.0.0-p0@MYGEMSET
rvm rvmrc warning ignore `pwd`/.rvmrc