I\'m trying to run Rails 3 beta 4 & Ruby 1.9.2rc on Ubuntu 10.04. It worked initially, but after doing my first bundle install/package, I now get the following errors in
bundle exec bash
works for me
Looks like a strange recursive require
.
Did you try uninstalling all versions of rake
and reinstalling it? There is a bug in 1.9.2rc affecting gem loading, so that might be it? I didn't look closely into it as many people are already following it closely...
Note: The 1.9.1 is the API version, so it is correct.
I had a .bundler folder on my root directory which was conflicting. Removing it did it for me.
rm -rf ~/.bundler
I'm afraid the easier solution is running this command instead of rake db:migrate
bundle exec rake db:migrate
If you have RVM installed, this issue can start to occur once you update rubygems to 1.8.15. The issue was that I had rake installed in the global gemset and my project's gemset. The solution was to have only one installation of rake. To delete it from the project gemset: 1. cd to the project 2. gem uninstall rake
Update to latest Rails minor version. So if you are at 4.2, update => 4.2.latest.