# How-To - Write a Ruby Spec - Rubinius
Rubinius is an implementation of the Ruby programming language. The Rubinius bytecode virtual machine is written in C++. The bytecode compiler is written in pure Ruby. The vast majority of the core library is also written in Ruby, with some supporting primitives that interact with the VM directly.
Author: Less Than Three. <3. http://less.thanthree.com

1.2.3

## How-To - Write a Ruby Spec

Make sure you have read:

- Getting Started
- Specs

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

1. Edit a file under `spec/ruby/...`
2. Run `bin/mspec -tr spec/ruby/some/spec_file.rb`
3. Repeat until the spec passes on MatzRuby
4. Commit your changes
5. Use `git format-patch`
6. Create a gist with your patch and link to it in a ticket on the issue tracker at http://github.com/rubinius/rubinius/issues.