Rspec tasks with rspec-rails 2.0

After updating to Rails 3 and Rspec-rails 2.0, the tasks defined in
rspec.rake do not work anymore. I instead get this, even when running
the rake tasks via ‘bundle exec’:

  • You are trying to run an rspec rake task defined in
  • /Users/bessieandkyle/code/listsite/lib/tasks/rspec.rake,
  • but rspec can not be found in vendor/gems, vendor/plugins or system
    gems.

Is there a new way to do this with rspec-rails 2.0 or did I just miss
something (highly likely).

Thanks!

On Sep 8, 2010, at 7:18 AM, Kyle wrote:

After updating to Rails 3 and Rspec-rails 2.0, the tasks defined in
rspec.rake

Delete it. rspec-rails-2 keeps the rake tasks in a file in the gem.

HTH,
David

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs