Created
July 10, 2013 23:30
-
-
Save rorcraft/5971184 to your computer and use it in GitHub Desktop.
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 | |
\. "${rvm_path}/scripts/functions/hooks/jruby" | |
export PROJECT_JRUBY_OPTS="-J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -X-C" | |
if [[ "${rvm_ruby_string}" =~ "jruby" ]] | |
then | |
jruby_options_append "${PROJECT_JRUBY_OPTS[@]}" | |
else | |
jruby_options_remove "${PROJECT_JRUBY_OPTS[@]}" | |
jruby_clean_project_options | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment