Running Rubinius - Rubinius
Author: Less Than Three. <3. http://less.thanthree.com
Description: 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.

1.2.3

## Running Rubinius

Once you have followed the steps for building (and possibly installing) Rubinius, you can verify it is working:

    rbx -v

Rubinius generally works like Ruby from the command-line. For example:

    rbx -e 'puts "Hello!"'

To run a ruby file named ‘code.rb’:

    rbx code.rb

To run IRB:

    rbx

If you added the Rubinius bin directory to your PATH, Rubinius should perform just as you would expect from MRI. There are commands for `ruby`, `rake`, `gem`, `irb`, `ri`, and `rdoc`.

You can add the Rubinius bin directory to your PATH only when you want to use Rubinius. This way, it will not interfere with your normally installed Ruby when you do not want to use Rubinius.