test/multiverse/suites/sidekiq/Envfile in newrelic_rpm-3.9.4.245 vs test/multiverse/suites/sidekiq/Envfile in newrelic_rpm-3.9.5.251
- old
+ new
@@ -1,14 +1,21 @@
suite_condition("SideKiq requires MRI 1.9.3 or JRuby 1.6 in 1.9 mode") do
RUBY_VERSION >= '1.9.3' || (RUBY_PLATFORM == 'java' && RUBY_VERSION >= '1.9')
end
-gemfile <<-RB
- gem 'json'
- gem 'sidekiq', '~> 3.0.0'
- gem 'rack'
- gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
-RB
+# Sidekiq 3.x does not support MRI 1.9.x
+if RUBY_VERSION >= '2.0.0' || (RUBY_PLATFORM == 'java')
+ gemfile <<-RB
+ gem 'json'
+ gem 'sidekiq', '~> 3.0.0'
+ gem 'rack'
+
+ # Work around for https://github.com/celluloid/celluloid/issues/457
+ gem 'celluloid', '0.15.2'
+
+ gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
+ RB
+end
gemfile <<-RB
gem 'json'
gem 'sidekiq', '~> 2.17.7'
gem 'rack'