This documentation is meant for folks contributing the rspec-rails project itself.
rspec-rails lives in a complicated ecosystem. We run our specs against multiple Rails and Ruby versions.
By default, rspec-rails' test suite will run against the latest stable version of Rails.
bundle install --binstubs bin/rake
If you receive an error from
bundler where constraints cannot be satisfied
for Rails, try removing
rm Gemfile.lock) and running
install --binstubs again.
This can happen if the
Gemfile.lock was generated for a different version of
Rails than you are trying to use now.
Changing Rails Version
To run the specs against a different version of Rails, use the
bin/thor version:use 3.2.13 bin/rake