Once you have followed the steps for building (and possibly installing) Rubinius, you can verify it is working:
Rubinius generally works like Ruby from the command-line. For example:
rbx -e 'puts "Hello!"'
To run a ruby file named ‘code.rb’:
To run IRB:
If you added the Rubinius bin directory to your PATH, Rubinius should perform
just as you would expect from MRI. There are commands for
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.