Reputation: 159
I decided to upgrade to Ruby 2.0.0 and Rails 4.0.0. I'm trying to set these as my default programs, by using this line:
rvm use [email protected] --default
I get the error
Failed to load /Users/michaeldunnegan/.gemrc because it doesn't contain valid YAML hash
My .gemrc file is blank. I don't know what to do. I can't find any references at all.
Upvotes: 3
Views: 3416
Reputation: 53188
most likely it is not empty, there is a lot of UTF-8
characters that editor will not show you, just remove the file before continuing:
rm -f /Users/michaeldunnegan/.gemrc
Upvotes: 7
Reputation: 73
You need to make a gemset first:
rvm --default use 2.0.0
rvm gemset create rails-4.0.0
rvm use [email protected] --default
gem install rails
I think that is right.
Upvotes: 3