Sha256: 803b52c724c2bab8f8e5164035e27086facf2d0015e0600a7859b38f9d996914
Contents?: true
Size: 1.29 KB
Versions: 10
Compression:
Stored size: 1.29 KB
Contents
java_args="" jruby_args="" default_optimize="" overwrite_optimize="" while true; do case "$1" in "-J+O") overwrite_optimize="true" shift break; ;; "-J-O") overwrite_optimize="false" shift break; ;; -J*) v="${1#-J}" if test "$v"; then java_args="$java_args $v" else shift file_args=`cat "$1"` if test $? -ne 0; then echo "Failed to load java argument file." exit 1 fi java_args="$java_args $file_args" fi shift ;; -R*) jruby_args="$jruby_args $1" shift ;; run) default_optimize="true" break ;; *) break ;; esac done if test "$overwrite_optimize" = "true" -o "$default_optimize" -a "$overwrite_optimize" != "false"; then java_args="-XX:+AggressiveOpts -XX:+UseConcMarkSweepGC $java_args" else java_args="-XX:+AggressiveOpts -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xverify:none $java_args" fi exec java $java_args -jar "$0" $jruby_args "$@" exit 127
Version data entries
10 entries across 10 versions & 1 rubygems