[rspec-users] rails3: in production i get uninitialised constant rspec?

nathanvda nathanvda at gmail.com
Mon Sep 13 03:49:15 EDT 2010

I am trying to deploy my rails3 application in a production
environment. But when i run my first rake task:

    RAILS_ENV=production rake db:setup

i always get the following result:

    rake aborted!
    uninitialized constant RSpec

and then points to the line in the Rakefile where it says


I do not have any lib/tasks referring to rspec; my gemfile does not
refer to any rspec or test gem in production.
Has anybody else encountered this?

(i have upgraded to beta.22, but encountered it with beta.20 first)

More information about the rspec-users mailing list