title: Should I use "rake spec" or "rspec" (can't get "rake spec" to work)?
body: <p>I am on Rails 3.2 and I am using rspec (2.11.1). When I run my test suite with "rake spec" I get failures. When I run it with "rspec" everything passes. I've seen other mentions of this problem but nothing definitive that explains what is going on and what best practices are.</p>
  
  <p>If I do "rake spec" or "rake tmp:clear &amp;&amp; rake spec" my tests fail.</p>
  
  <p>If I do "rspec" or "rspec spec" or "rake db:test:prepare &amp;&amp; rspec" my tests pass.</p>
  
  <p>I thought the only difference was that rake did "db:test:prepare" but if I do that manually before running rspec my tests pass so that can't be all of the story.</p>
  
  <p>After doing a bit of reading I changed my Gemfile. Previously I had it set up as per "The RSpec Book" (p328) where it described putting the rspec gem inside a "group :development, :test" block. Having read some other SO posts I removed ":development" and did a bundle. Now "rake spec" does nothing. "rspec" still works as before.</p>
  
  <p>Very confused...</p>