When I run rspec spec I get the following:
rspec spec
/usr/local/lib/ruby/gems/1.9.1/gems/rspec-rails-2.7.0/lib/rspec/rails/extensions/active_record/base.rb:26:in `
Found this thread while debugging the same symptoms. Here is another reason for the error: I had run
rspec --init
but had failed to run
rails generate rspec:install
Doing the latter fixed the problem.