source 'http://rubygems.org' gem 'rake' gem 'rails', '~>4.0.1' # Do not automatically require minitest, since this will break with rbx-2.2.5. # rbx-2.2.5 helpfully bundles minitest-5.3.0. # Our tests don't work with minitest-5.3.0. # minitest-4.7.5 is the version we want to use here, but if you just do # a require 'minitest' on rbx-2.2.5, you'll get 5.3.0 (since 4.7.5 doesn't # actually have a minitest.rb file under lib/). The :require => false prevents # us from inadvertently loading minitest 5.3.0 on rbx (we'll require # minitest/unit instead via a different path). gem 'minitest', '~>4.7.5', :require => false gem 'mocha', :require => false gem 'rack' gem 'rack-test' platforms :jruby do gem "activerecord-jdbcmysql-adapter", "~>1.3.0" gem "activerecord-jdbcsqlite3-adapter", "~>1.3.0" gem "jruby-openssl" end platforms :ruby do gem "mysql" # Lock at 1.3.8 to work around: # https://github.com/sparklemotion/sqlite3-ruby/issues/122 gem "sqlite3", '1.3.8' end platforms :rbx do gem "rubysl" gem "json" # If we don't skip the require here, test-unit tries to install its at_exit # hook and run when we run our rake task to create the test DB. gem "rubysl-test-unit", :require => false gem "racc" # https://github.com/rubinius/rubinius/issues/2632 end gem "newrelic_rpm", :path => "../../.."