source 'https://rubygems.org' gem 'activerecord', '~> 3.0' group :development, :test do gem 'rake', '~> 10.1.1' gem 'shoulda', '~> 3.5' gem 'ffaker', '>= 1.15' # Testing of Rails gem 'railties', '~> 3.0' # Testing of Sinatra gem 'sinatra', '~> 1.0' gem 'rack-test', '>= 0.6' # RSpec testing gem 'rspec-rails', '~> 3.1.0' gem 'generator_spec' # To do proper transactional testing with ActiveSupport::TestCase on MySQL gem 'database_cleaner', '~> 1.2.0' platforms :ruby do gem 'sqlite3', '~> 1.2' gem 'mysql2', '~> 0.3' gem 'pg', '~> 0.17' end platforms :jruby, :ruby_18 do # shoulda-matchers > 2.0 is not compatible with Ruby18. # Since we can't specify difference between JRuby 18/19, we need to use shoulda-matchers 1.5 for all JRuby testing. gem 'shoulda-matchers', '~> 1.5' end platforms :jruby do # Use jRuby's sqlite3 adapter for jRuby gem 'activerecord-jdbcsqlite3-adapter', '~> 1.3' gem 'activerecord-jdbcpostgresql-adapter', '~> 1.3' gem 'activerecord-jdbcmysql-adapter', '~> 1.3' end end