source 'https://rubygems.org' gemspec group :development, :test do gem 'rubocop', '~> 0.38.0' end # Database Adapters platforms :ruby do gem "mysql2", "~> 0.3.0" gem "pg", "~> 0.9" gem "sqlite3", "~> 1.3.10" gem "seamless_database_pool", "~> 1.0.13" end platforms :jruby do gem "jdbc-mysql" gem "jdbc-postgres" gem "activerecord-jdbcmysql-adapter" gem "activerecord-jdbcpostgresql-adapter" end # Support libs gem "factory_girl", "~> 4.2.0" gem "timecop" gem "chronic" # Debugging platforms :jruby do gem "ruby-debug-base", "= 0.10.4" end platforms :jruby, :mri_18 do gem "ruby-debug", "= 0.10.4" end platforms :mri_19 do gem "debugger" end platforms :ruby do gem "pry-byebug" end version = ENV['AR_VERSION'] || "4.2" if version >= "4.0" gem "minitest" else gem "test-unit" end eval_gemfile File.expand_path("../gemfiles/#{version}.gemfile", __FILE__)