Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

JRuby hanging when using Drip + Thor "namespaced command" + bundle exec #588

Open
krainboltgreene opened this Issue · 2 comments

2 participants

@krainboltgreene

Repository: https://github.com/krainboltgreene/whiskey

My after_use_jruby hook for RVM:

#!/usr/bin/env bash

. "${rvm_path}/scripts/functions/hooks/jruby"

if [[ "${rvm_ruby_string}" =~ "jruby" ]]
then
  export JRUBY_OPTS="-X-C -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-client -J-d32 -Xcompile.invokedynamic=false -J-noverify"
  export JAVACMD=`which drip`
  export DRIP_INIT_CLASS=org.jruby.main.DripMain

  jruby_ngserver_start
  jruby_options_append "--ng" "${PROJECT_JRUBY_OPTS[@]}"
else
  jruby_options_remove "--ng" "${PROJECT_JRUBY_OPTS[@]}"
  jruby_clean_project_options
fi

To get it to happen just run: bundle exec bin/whiskey

It'll just sit there.

@BanzaiMan
Owner

Could you test if removing Drip and rvm from the equation makes any difference?

@krainboltgreene

I don't think I'll have time, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.