After installing rvm, updating .gmrc file, updating rubygems and running gem install rails -v \">=3.1.0rc\"
, I now seem to have a complete mess:
I got a problem similar to this, there may be a compatible problem of rvm. I fixed by updating rvm to latest version:
curl -L https://get.rvm.io | bash -s stable --ruby
Then you should reload rvm or just open new terminal window. Then I reinstalled the bundler 'gem install bundler' and ran 'bundle install' as normal