How to generate bytecode in Ruby 1.9?

797 Views Asked by At

How can I generate byetcode from Ruby 1.9??

My intent is to generate bytecode not the source code and ship it along with my application package. I am aware of the JRuby approach but I am facing certain issues there

1

There are 1 best solutions below

0
On

Call BCEL library from JRuby. BCEL library is shipped with JDK.