RVM version [1.19.1] requires modifying the .rvmrc file

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/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'. 

Which team should I do exactly?

My ruby ​​version is ruby-1.9.3-p385

+7
source share
4 answers

If you do not want to modify your .rvmrc file in all of your projects that you run (as Yul said) rvm rvmrc warning ignore all.rvmrcs . He ignores this warning for all of your projects.

If you don't want to modify your .rvmrc file just for this project, run rvm rvmrc warning ignore /Users/wadawadabingbang/Sites/my_amazing_fn_website/.rvmrc

However, this message advises moving your .rvmrc to a new system. To do this, you just need to create a .ruby-version with your ruby ​​version inside: 1.9.3-p385 and delete .rvmrc. What is it.

Hope this helps.

+6
source

I renamed my .rvmrc to a .ruby version and changed the contents

of

 rvm_trust_rvmrcs_flag=1 rvm use ruby-2.0.0-p0@MYGEMSET --create 

to

 ruby-2.0.0-p0@MYGEMSET 
+2
source

should work after

rvm get head

it worked for me

0
source

This is similar to CupraR_On_Rails answer, but you do not need to enter a directory name. I set an alias in my .profile called rvm_trust to run it for me.

 rvm rvmrc warning ignore `pwd`/.rvmrc 
0
source

All Articles