Sha256: 07ade7585544911ea4db2961fc7df3a1ddb82e588e3192729aa92d132cc47dd0

Contents?: true

Size: 449 Bytes

Versions: 10

Compression:

Stored size: 449 Bytes

Contents

# ideas taken from: http://blog.headius.com/2010/03/jruby-startup-time-tips.html
Aruba.configure do |config|
  config.before_cmd do
    # disable JIT since these processes are so short lived
    set_env('JRUBY_OPTS', "-X-C #{ENV['JRUBY_OPTS']}") 
    # force jRuby to use client JVM for faster startup times
    set_env('JAVA_OPTS', "-d32 #{ENV['JAVA_OPTS']}") if RbConfig::CONFIG['host_os'] =~ /solaris|sunos/i
  end
end if RUBY_PLATFORM == 'java'

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/aruba-0.6.1/lib/aruba/jruby.rb
aruba-0.6.1 lib/aruba/jruby.rb
aruba-0.6.0 lib/aruba/jruby.rb
aruba-0.5.4 lib/aruba/jruby.rb
aruba-0.5.3 lib/aruba/jruby.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/aruba-0.5.1/lib/aruba/jruby.rb
aruba-0.5.2 lib/aruba/jruby.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/aruba-0.5.1/lib/aruba/jruby.rb
aruba-0.5.1 lib/aruba/jruby.rb
aruba-0.5.0 lib/aruba/jruby.rb