mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c0db7840fe
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com>
54 lines
1.1 KiB
Ruby
54 lines
1.1 KiB
Ruby
source 'http://rubygems.org'
|
|
|
|
gem "arel", :git => "git://github.com/rails/arel.git"
|
|
gem "rails", :path => File.dirname(__FILE__)
|
|
|
|
gem "rake", ">= 0.8.7"
|
|
gem "mocha", ">= 0.9.8"
|
|
|
|
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"
|
|
gem 'json'
|
|
gem 'yajl-ruby'
|
|
gem "nokogiri", ">= 1.4.0"
|
|
elsif RUBY_ENGINE == "jruby"
|
|
gem "ruby-debug"
|
|
gem "jruby-openssl"
|
|
end
|
|
|
|
# AR
|
|
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"
|
|
|
|
group :db do
|
|
gem "activerecord-jdbcmysql-adapter"
|
|
gem "activerecord-jdbcpostgresql-adapter"
|
|
end
|
|
end
|
|
|
|
# AP
|
|
gem "rack-test", "0.5.3", :require => 'rack/test'
|
|
gem "RedCloth", ">= 4.2.2"
|
|
|
|
group :documentation do
|
|
gem 'rdoc', '2.1'
|
|
end
|
|
|
|
if ENV['CI']
|
|
gem "nokogiri", ">= 1.4.0"
|
|
|
|
# fcgi gem doesn't compile on 1.9
|
|
gem "fcgi", ">= 0.8.7" if RUBY_VERSION < '1.9.0'
|
|
end
|