Sha256: 2cefdd79956101f11c087dcb3c51fd7c6784ba33b2ba80825e25ff5f77666088

Contents?: true

Size: 622 Bytes

Versions: 8

Compression:

Stored size: 622 Bytes

Contents

require 'aruba/cucumber'

PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze

Before do
  @aruba_timeout_seconds = 3600
end

Aruba.configure do |config|
  config.before_cmd do |cmd|
    set_env('JRUBY_OPTS', "-X-C #{ENV['JRUBY_OPTS']}") # disable JIT since these processes are so short lived

    java_options = ENV['JAVA_OPTS']

    if 1.size == 4 # 4 for 32 bit java, 8 for 64 bit java.
      set_env('JAVA_OPTS', "-d32 #{java_options}")
    else
      set_env('JAVA_OPTS', "-XX:+TieredCompilation -XX:TieredStopAtLevel=1 #{java_options}")
    end
  end
end if RUBY_PLATFORM == 'java'

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
factory_girl_rails-4.6.0 features/support/env.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/factory_girl_rails-4.5.0/features/support/env.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/factory_girl_rails-4.5.0/features/support/env.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/factory_girl_rails-4.5.0/features/support/env.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/factory_girl_rails-4.5.0/features/support/env.rb
factory_girl_rails-4.5.0 features/support/env.rb
factory_girl_rails-4.4.1 features/support/env.rb
factory_girl_rails-4.4.0 features/support/env.rb