Recently, I installed Rails 3 using rvm. I wanted to follow quickly through Rails 3 in Action so I could see the differences between Rails 2.3 that I’m familiar with and the new stuff in Rails 3.
I also wanted to follow along because the book uses a behavioral driven design technique. This is very different from how I usually code, so I was intrigued.
After installing everything properly, I had an issue with rake tasks for rspec being nonexistent. After a couple hours of tweaking and reinstalling things, I came across the answer:
gem update bundler
Yeah, that’s it. There is an issue with the version of bundler pulled out of ruby gems on a fresh install of rails 3.0.3.