Want To Ignore Messages About Gemfile Selection the Ruby Version

1.6k views Asked by At

I have recently upgraded all of my Rails applications to Rails 4.0.0 Ruby 2.0.0. I am working on a Mac Mini Server running OS X Server (Mountain Lion).

I have the following statements in my Gemfile.

ruby "2.0.0"
#ruby-gemset=mygemsetname

When I navigate to the folder of one of my Rails 4 applications the following messages are displayed.

RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /Users/myusername/sites/myrailsapp/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

I am running RVM 1.21.15 on my development server and RVM 1.22.3 on my production server. From my understanding rvmrc is deprecated. I'm not using it in any of my applications. So running these commands do nothing.

How can I stop these messages from displaying?

Any help would be appreciated. I will keep searching.

UPDATE 10/30/2013 8:10 am CDT

RVM has been updated to check more conditions before issuing these messages. Doing rvm get head to update RVM to the current version should fix the problem. As of now the current version is 1.23.13.

1

There are 1 answers

0
mpapis On BEST ANSWER

There is a bug reported https://github.com/wayneeseguin/rvm/issues/2328 - you can "watch it" for solution, the button "Watch" is on bottom.