天道酬勤,学无止境

rvmrc

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

Question 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. Answer1 it should be enough to run: echo rvm_use_flag=2 >> ~/.rvmrc It will tell RVM to display the message always (it does not work for some older project .rvmrc files that did not support it).

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

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

Question 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

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