天道酬勤,学无止境

rvmrc

将 rvm 从 .rvmrc 转换为 .ruby-version 后未收到信息消息(Not getting info message after converting rvm from .rvmrc to .ruby-version)

问题 我刚刚在几个项目中运行rvm rvmrc 到 ruby​​-version 。 查看生成的文件,它们匹配谷歌搜索中应该包含的内容(.ruby-version 和 .ruby-gemset)。 当我 cd 进入项目目录时,我不再收到Using /home/ /.rvm/gems/ruby-1.9.3-p392 with gemset info 消息。 有没有办法让信息消息回来? 谢谢。 回答1 运行应该足够了: echo rvm_use_flag=2 >> ~/.rvmrc 它会告诉 RVM 始终显示消息(它不适用于一些不支持它的旧项目.rvmrc文件)。

2021-08-30 14:25:37    分类:技术分享    rvm   rvmrc

Not getting info message after converting rvm from .rvmrc to .ruby-version

I've just run rvm rvmrc to ruby-version on a couple of projects. Looked at the produced files, they match what googling says should be in them (.ruby-version & .ruby-gemset). When I cd into the project directories, I no longer get the Using /home/user/.rvm/gems/ruby-1.9.3-p392 with gemset projectname info message. Is there any way for get info message back? Thanks.

2021-08-30 03:50:18    分类:问答    rvm   rvmrc

使用rvmrc或ruby-version文件通过RVM设置项目gemset?(Use rvmrc or ruby-version file to set a project gemset with RVM?)

问题 我使用RVM,Ruby版本管理器为我的每个Rails项目指定一个Ruby版本和一组gem。 我有一个.rvmrc文件,可以在每次cd进入项目目录时自动选择Ruby版本和gemset。 安装RVM 1.19.0后,我收到一条消息 您正在使用.rvmrc ,它需要信任,速度较慢,并且与其他ruby管理器不兼容,您可以使用rvm rvmrc to [.]ruby-version切换到.ruby-version rvm rvmrc to [.]ruby-version或rvm rvmrc to [.]ruby-version或通过rvm rvmrc warning ignore /Users/userName/code/railsapps/rails-prelaunch-signup/.rvmrc忽略此警告rvm rvmrc warning ignore /Users/userName/code/railsapps/rails-prelaunch-signup/.rvmrc , .rvmrc仍将是默认的项目文件中RVM 1和2 RVM,对所有文件运行忽略警告rvm rvmrc warning ignore all.rvmrcs 。 我应该继续使用.rvmrc文件还是应该切换到.ruby-version文件? 哪个是最佳的? 有哪些后果? 回答1 如果您的

2021-04-06 16:30:59    分类:技术分享    ruby-on-rails   ruby-on-rails-3   ruby-on-rails-3.2   rvm   rvmrc

Use rvmrc or ruby-version file to set a project gemset with RVM?

I use RVM, the Ruby Version Manager to specify a Ruby version and a set of gems for each of my Rails projects. I have a .rvmrc file to automatically select a Ruby version and gemset whenever I cd into a project directory. After installing RVM 1.19.0, I get a message 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/userName/code/railsapps/rails-prelaunch-signup/.rvmrc, .rvmrc will continue to be the default

2021-03-29 04:16:30    分类:问答    ruby-on-rails   ruby-on-rails-3   ruby-on-rails-3.2   rvm   rvmrc