Aceleração do tempo de inicialização do JRuby

update your ~/.rvm/hooks/after_use_jruby_opts

#!/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

chmod +x ~/.rvm/hooks/after_use_jruby_opts