Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

@krainboltgreene
Copy link

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
Copy link
Member

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

@krainboltgreene
Copy link
Author

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

@krainboltgreene
Copy link
Author

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
Projects
None yet
Development

No branches or pull requests

3 participants