require 'rubygems/version' source 'https://rubygems.org' # Used by spec/commands/rollbar_rails_runner_spec, and can be used whenever a # new process is created during tests. (Testing rake tasks, for example.) # This is a workaround for ENV['BUNDLE_GEMFILE'] not working as expected on Travis. # We use the ||= assignment because Travis loads the gemfile twice, the second time # with the wrong gemfile path. ENV['CURRENT_GEMFILE'] ||= __FILE__ is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE) gem 'appraisal' gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby gem 'jruby-openssl', :platform => :jruby gem 'rails', '~> 5.1.0' gem 'sqlite3', '< 1.4.0', :platform => [:ruby, :mswin, :mingw] gem 'rspec-core', '~> 3.5.0.beta3' gem 'rspec-rails', '~> 3.5.0.beta3' gem 'rspec-support', '~> 3.5.0.beta3' gem 'rspec-expectations', '~> 3.5.0.beta3' gem 'rspec-mocks', '~> 3.5.0.beta3' gem 'rake' gem 'sidekiq', '>= 2.13.0' unless is_jruby if RUBY_VERSION >= '2.5' gem 'oj' elsif RUBY_VERSION >= '2.4.0' gem 'oj', '~> 2.16.1' else gem 'oj', '~> 2.12.14' end end platforms :rbx do gem 'minitest' gem 'racc' gem 'rubinius-developer_tools' gem 'rubysl', '~> 2.0' unless RUBY_VERSION.start_with?('1') end if RUBY_VERSION.start_with?('1.9') gem 'capistrano', '<= 3.4.1', :require => false gem 'sucker_punch', '~> 1.0' elsif RUBY_VERSION.start_with?('2') gem 'capistrano', :require => false gem 'sucker_punch', '~> 2.0' gem 'codacy-coverage' gem 'simplecov' end # We need last sinatra that uses rack 2.x gem 'sinatra', :git => 'https://github.com/sinatra/sinatra' gem 'database_cleaner' gem 'delayed_job', :require => false gem 'generator_spec' gem 'girl_friday', '>= 0.11.1' gem 'redis' gem 'resque' unless is_jruby # JRuby doesn't support fork, which is required for this test helper. gem 'rspec-command' end if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0') gem 'mime-types', '< 3.0' end gem 'webmock', :require => false gem 'aws-sdk-sqs' gem 'shoryuken' gemspec :path => '../'