source "https://rubygems.org" case ENV["ADAPTER"] when nil, "active_record" gem "activerecord", "~> 4.0.0.rc", :require => "active_record" when "mongoid" gem "mongoid", :git => "git://github.com/mongoid/mongoid.git" gem "bson_ext", :platform => "ruby" else raise "Unknown model adapter: #{ENV["ADAPTER"]}" end group :test do gem "rails", "~> 4.0.0.rc" gem "ammeter" gem "rake" gem "rspec" gem "rspec-rails" gem "fuubar" gem "bundler" gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.0.beta", :platform => "jruby" gem "sqlite3", :platform => "ruby" gem "activerecord", "~> 4.0.0.rc", :require => "active_record" gem "mongoid", :git => "git://github.com/mongoid/mongoid.git" gem 'coveralls', :require => false end