Last active
December 9, 2015 21:18
-
-
Save kares/4329513 to your computer and use it in GitHub Desktop.
Gemfile snippet to speed-up therubyrhino on JRuby - you might gain up to 30% in speed (e.g. during assets:precompile) if your JavaScripts are Rhino bytecode-compilable ...
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
source 'https://rubygems.org' | |
gem 'rails', '3.2.16' # or whatever | |
# ... | |
group :assets do | |
# make sure you have the latest rhino : | |
gem 'therubyrhino', '>= 2.0.2', :platform => :jruby | |
# ExecJS with a patch that does not force interpreted mode : | |
gem 'execjs', :github => 'kares/execjs' | |
# PR at https://github.com/sstephenson/execjs/pull/112 | |
# ... | |
end | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment