Sha256: 6c426ace87180c642104ffe2436ddb608651296ac12e14d45cc7a2d22aa4d244
Contents?: true
Size: 482 Bytes
Versions: 5
Compression:
Stored size: 482 Bytes
Contents
require 'rbconfig' # ideas taken from: http://blog.headius.com/2010/03/jruby-startup-time-tips.html Aruba.configure do |config| config.before :command do next unless RUBY_PLATFORM == 'java' # disable JIT since these processes are so short lived ENV['JRUBY_OPTS'] = "-X-C #{ENV['JRUBY_OPTS']}" # force jRuby to use client JVM for faster startup times ENV['JAVA_OPTS'] = "-d32 #{ENV['JAVA_OPTS']}" if RbConfig::CONFIG['host_os'] =~ /solaris|sunos/i end end
Version data entries
5 entries across 5 versions & 1 rubygems