In the gem file change the rails version to gem 'rails', '~> 3.1.0.rc6'., then run bundle update. I also had an issue with the rake gem and resolved it with gem uninstall rake. Evidently the rake gem gets installed twice or something. Note, I am using Ruby 1.9.2, rvm.