Created
May 21, 2013 02:11
-
-
Save phstc/5617092 to your computer and use it in GitHub Desktop.
https://twitter.com/headius/status/336660283772768256 ~/.rvm/hooks/after_use_jruby_drip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ "${rvm_ruby_string}" =~ "jruby" ]] | |
then | |
export JAVACMD=`which drip` | |
export DRIP_INIT_CLASS=org.jruby.main.DripMain | |
# settings from: https://github.com/jruby/jruby/wiki/Improving-startup-time | |
export JRUBY_OPTS="-J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify" | |
fi% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment