How to Write a Rubinius Spec
Make sure you have read
Getting Started
and
The Rubinius Specs.
Then, follow these steps to write a spec for Rubinius.
-
Ensure your code is current, run
git pull
-
Run
rake
to ensure your build is current
-
Edit a file under
spec/core, spec/compiler, spec/debugger,
etc
-
Run
bin/mspec spec/some/spec_file.rb
to confirm that it fails
-
Run
git status, git add, git commit,
etc.
-
Run
git format-patch
-
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).