Common code needed by the other RSpec gems. Not intended for direct use.
Ruby Shell


RSpec::Support provides common functionality to RSpec::Core, RSpec::Expectations and RSpec::Mocks. It is considered suitable for internal use only at this time.

Installation / Usage

Install one or more of the RSpec gems.

Want to run against the master branch? You'll need to include the dependent RSpec repos as well. Add the following to your Gemfile:

%w[rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
  gem lib, :git => "git://{lib}.git", :branch => 'master'


Once you've set up the environment, you'll need to cd into the working directory of whichever repo you want to work in. From there you can run the specs and cucumber features, and make patches.

NOTE: You do not need to use rspec-dev to work on a specific RSpec repo. You can treat each RSpec repo as an independent project.


Please submit a pull request or a github issue. If you submit an issue, please include a link to either of:

  • a gist (or equivalent) of the patch
  • a branch or commit in your github fork of the repo