Sha256: 7d30312e2b256200a6395e97a89c932f4bc3750b387cc205a17de8dc24f9c4de

Contents?: true

Size: 448 Bytes

Versions: 8

Compression:

Stored size: 448 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

8 entries across 7 versions & 2 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/aruba-0.6.2/lib/aruba/jruby.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/aruba-0.6.2/lib/aruba/jruby.rb
aruba-0.7.4 lib/aruba/jruby.rb
aruba-0.7.3 lib/aruba/jruby.rb
aruba-0.7.2 lib/aruba/jruby.rb
aruba-0.7.1 lib/aruba/jruby.rb
aruba-0.7.0 lib/aruba/jruby.rb
aruba-0.6.2 lib/aruba/jruby.rb