/ scripts / jruby
jruby
 1  #!/bin/bash
 2  #
 3  # Run JRuby with our environment set up.
 4  #
 5  # Non-portable!  Just for development purposes...
 6  
 7  basedir="`dirname $0`/../"
 8  export GEM_HOME="`(cd "$basedir/build/gems"; pwd)`"
 9  export GEM_PATH=""
10  
11  exec java $JAVA_OPTS -cp "$basedir/build/*:$basedir/common/lib/*" org.jruby.Main ${1+"$@"}