diff options
Diffstat (limited to 'dev-java/jruby/files/jruby-1.4.0-system-nailgun.patch')
-rw-r--r-- | dev-java/jruby/files/jruby-1.4.0-system-nailgun.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-java/jruby/files/jruby-1.4.0-system-nailgun.patch b/dev-java/jruby/files/jruby-1.4.0-system-nailgun.patch new file mode 100644 index 000000000000..f8fef66fd823 --- /dev/null +++ b/dev-java/jruby/files/jruby-1.4.0-system-nailgun.patch @@ -0,0 +1,18 @@ +Index: jruby-1.4.0/bin/jruby +=================================================================== +--- jruby-1.4.0.orig/bin/jruby ++++ jruby-1.4.0/bin/jruby +@@ -308,12 +308,7 @@ if $cygwin; then + fi + + if [ "$nailgun_client" != "" ]; then +- if [ -f $JRUBY_HOME/tool/nailgun/ng ]; then +- exec $JRUBY_HOME/tool/nailgun/ng org.jruby.util.NailMain $JRUBY_OPTS "$@" +- else +- echo "error: ng executable not found; run 'make' in ${JRUBY_HOME}/tool/nailgun" +- exit 1 +- fi ++ exec /usr/bin/ng org.jruby.util.NailMain $JRUBY_OPTS "$@" + else + if [ "$VERIFY_JRUBY" != "" ]; then + if [ "$PROFILE_ARGS" != "" ]; then |