Ruby 2.3.0 Released
Here are two bash functions so that you can compile and execute the bytecode in the terminal:i.e.rubyc test.rbruby-do test.rbcin .bashrc:function rubyc() {ruby -e "File.open('$1c', 'wb').write(RubyVM::InstructionSequence.compile_file('$1').to_binary)"}function ruby-do() {ruby -e "RubyVM::InstructionSequence.load_from_binary(File.open('$1', 'rb').read).eval"}