2010-02-23 20:56:28 -05:00
|
|
|
source 'http://rubygems.org'
|
2010-01-31 19:33:06 -05:00
|
|
|
|
2010-03-25 18:31:42 -04:00
|
|
|
gem "arel", :git => "git://github.com/rails/arel.git"
|
2010-04-05 04:52:47 -04:00
|
|
|
gem "rails", :path => File.dirname(__FILE__)
|
2010-01-31 19:33:06 -05:00
|
|
|
|
|
|
|
gem "rake", ">= 0.8.7"
|
2009-11-10 17:59:22 -05:00
|
|
|
gem "mocha", ">= 0.9.8"
|
|
|
|
|
2010-05-19 10:24:51 -04:00
|
|
|
mri = !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby"
|
|
|
|
if mri && RUBY_VERSION < '1.9'
|
|
|
|
gem "system_timer"
|
|
|
|
gem "ruby-debug", ">= 0.10.3"
|
|
|
|
end
|
|
|
|
|
|
|
|
if mri || RUBY_ENGINE == "rbx"
|
2010-04-28 12:02:45 -04:00
|
|
|
gem 'json'
|
|
|
|
gem 'yajl-ruby'
|
2010-05-16 09:11:07 -04:00
|
|
|
gem "nokogiri", ">= 1.4.0"
|
2010-05-19 10:24:51 -04:00
|
|
|
elsif RUBY_ENGINE == "jruby"
|
2010-05-19 16:38:27 -04:00
|
|
|
gem "ruby-debug"
|
|
|
|
gem "jruby-openssl"
|
2009-10-20 19:33:54 -04:00
|
|
|
end
|
2009-11-10 17:59:22 -05:00
|
|
|
|
|
|
|
# AR
|
2010-05-19 16:38:27 -04:00
|
|
|
if mri || RUBY_ENGINE == "rbx"
|
|
|
|
gem "sqlite3-ruby", "= 1.3.0.beta.2", :require => 'sqlite3'
|
|
|
|
|
|
|
|
group :db do
|
|
|
|
gem "pg", ">= 0.9.0"
|
|
|
|
gem "mysql", ">= 2.8.1"
|
|
|
|
end
|
|
|
|
elsif RUBY_ENGINE == "jruby"
|
|
|
|
gem "activerecord-jdbcsqlite3-adapter"
|
2009-12-31 21:49:27 -05:00
|
|
|
|
2010-05-19 16:38:27 -04:00
|
|
|
group :db do
|
|
|
|
gem "activerecord-jdbcmysql-adapter"
|
|
|
|
gem "activerecord-jdbcpostgresql-adapter"
|
|
|
|
end
|
2009-12-31 21:49:27 -05:00
|
|
|
end
|
2009-11-10 17:59:22 -05:00
|
|
|
|
|
|
|
# AP
|
|
|
|
gem "RedCloth", ">= 4.2.2"
|
|
|
|
|
2010-02-15 13:48:23 -05:00
|
|
|
group :documentation do
|
|
|
|
gem 'rdoc', '2.1'
|
|
|
|
end
|
|
|
|
|
2009-11-10 18:28:25 -05:00
|
|
|
if ENV['CI']
|
2009-11-10 17:59:22 -05:00
|
|
|
gem "nokogiri", ">= 1.4.0"
|
2009-11-10 18:46:32 -05:00
|
|
|
|
|
|
|
# fcgi gem doesn't compile on 1.9
|
2010-02-11 10:53:12 -05:00
|
|
|
gem "fcgi", ">= 0.8.7" if RUBY_VERSION < '1.9.0'
|
2009-11-10 17:59:22 -05:00
|
|
|
end
|