rvm - 如何摆脱 RVM 通知

标签 rvm rvmrc

当我遍历到包含 .rvmrc 文件的文件夹时,有没有办法消除警告。

====================================================================================

= NOTICE                                                                           =

====================================================================================

= RVM has encountered a new or modified .rvmrc file in the current directory       =

= This is a shell script and therefore may contain any shell commands.             =

=                                                                                  =

= Examine the contents of this file carefully to be sure the contents are          =

= safe before trusting it! ( Choose v[iew] below to view the contents )            =

====================================================================================

Do you wish to trust this .rvmrc file? (/home/sam/myrailsapp/.rvmrc)

y[es], n[o], v[iew], c[ancel]> y

最佳答案

从 .rvmrc 切换到 .ruby-version + .ruby-gemset

rvm rvmrc to .ruby-version

关于rvm - 如何摆脱 RVM 通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15299994/

相关文章:

ruby-on-rails - rvmrc 文件不起作用

rvm - 将 rvm 从 .rvmrc 转换为 .ruby-version 后未收到信息消息

ruby - rvm 一直忽略我的 .rvmrc

ruby - 无法让 RVM 切换 ruby

mysql - 将 Ruby 版本与 MySql 客户端混合使用时出现问题

ruby-on-rails - 使用 Capistrano 和 RVM 时无法从环境中读取 SECRET_KEY_BASE

ruby-on-rails - 如何使用capistrano bundle 安装期间指定Gemfile.lock的路径

rvm - 更新 rvm 破坏了我的整个环境,因为我运行的是 "get head"而不是 "get stable"

ruby - 当我告诉 rvm 安装 ruby​​ 1.9.2 时,它最终安装了 1.8.7

ruby - RVM 正在尝试使用错误的 Ruby 版本