[rspec-users] "bundle exec rspec" vs "rake spec"

David Chelimsky dchelimsky at gmail.com
Tue Jul 20 07:37:08 EDT 2010

On Jul 19, 2010, at 7:51 AM, Jay wrote:

> I'm in the process of upgrading my rails app to rails 3 and I'm
> getting different results from running the 2 commands above.  The
> "bundle exec rspec" runs my tests correctly, but when I run "rake
> spec" it doesn't seem to do anything.  I get "0 examples, 0
> failures".  This is on version 2.0.0.beta.17 of rspec.  Any ideas on
> what I'm doing wrong?

Which beta version of rails are you on?

Make sure that you've removed lib/tasks/rspec.rake and that rspec-rails listed in the :development group in your Gemfile.


> Thanks,
> Jay

More information about the rspec-users mailing list