Skip to content

Instantly share code, notes, and snippets.

@rorcraft
Created July 10, 2013 23:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rorcraft/5971184 to your computer and use it in GitHub Desktop.
Save rorcraft/5971184 to your computer and use it in GitHub Desktop.
#!/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