This is an abbreviated version of what you will find at Howto - Develop with a separate RubySpec repo. Refer to The Rubinius specs for more documentation on the specs.

Then, follow these steps to write a spec for a Ruby method:

  1. Edit a file under spec/ruby/1.8/...
  2. Run bin/mspec -tr spec/ruby/1.8/some/spec_file.rb
  3. Repeat until the spec passes on MatzRuby
  4. Run rake git:status OR cd spec/ruby; git status
  5. Change directory to spec/ruby
  6. Run git status, git add, git commit, etc.
  7. Run git format-patch
  8. Upload the patch in a ticket on the rubyspec.org website

You're done. When your patch is accepted, you will get a commit bit to the RubySpecs repository. However, while you're on a roll, why not add a patch for Rubinius as well. See Howto - Fix a failing spec.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

0.1069% complete

 

Completed 9 of 13 tickets