Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Jun 16, 2009
1 parent a03543e commit ccbc5da
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.txt
@@ -0,0 +1,25 @@
==Preparing to run Juby==

You will need MLVM/Da Vinci machine with current patches.

Compile the bootstrap class:

javac src/com/headius/juby/SimpleJavaBootstrap.java

==Compiling Juby source==

jruby -J-cp src -J-XX:+EnableInvokeDynamic bin/jubyc <src.jb>

or

jruby -J-cp src -J-XX:+EnableInvokeDynamic bin/jubyc -e "juby script here"

The latter will produce a "dash_e.class"

==Running the compiled result==

java -Xint -XX:+EnableInvokeDynamic -cp src:. <classname>

==Notes==

-Xint is only necessary until MLVM/DVM has JIT support for invokedynamic

0 comments on commit ccbc5da

Please sign in to comment.