Rubinius

Use Ruby™

How to Fix a Failing Spec

Make sure you have read Getting Started and The Rubinius Specs.

  1. Run rake spec to ensure that all CI specs are passing
  2. Run bin/mspec spec/some/spec_file.rb to confirm the spec fails
  3. Edit a file somewhere in Rubinius (probably under the kernel directory)
  4. Run rake to build your change
  5. Run bin/mspec spec/some/spec_file.rb to see if your spec passes
  6. Repeat until your spec passes
  7. Run rake spec:full OR bin/mspec ci -B full.mspec to ensure there are no regressions
  8. Change directory to Rubinius root if not already there
  9. Run git status, git add, git commit, etc.
  10. Run git format-patch
  11. Upload the patch in a ticket on the Rubinius lighthouse account

When your patch is accepted by the Rubinius project, you'll get a commit bit for the Rubinius repository. You'll also get a bit for the RubySpec repository (as long as you have a github account and let us know your github username).