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

Closed
krainboltgreene opened this Issue Mar 17, 2013 · 3 comments

Projects

None yet

3 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
JRuby Team member

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

@krainboltgreene

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

@krainboltgreene

I didn't have time, it turns out.

@headius headius added this to the Invalid or Duplicate milestone May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment