2010-02-01 08:33:06 +08:00
|
|
|
path File.expand_path('..', __FILE__)
|
2010-02-05 10:28:45 +08:00
|
|
|
source 'http://gemcutter.org'
|
2010-02-01 08:33:06 +08:00
|
|
|
|
2010-02-04 09:29:51 +08:00
|
|
|
gem "rails", "3.0.0.beta"
|
2010-02-01 08:33:06 +08:00
|
|
|
|
|
|
|
gem "rake", ">= 0.8.7"
|
2009-11-11 06:59:22 +08:00
|
|
|
gem "mocha", ">= 0.9.8"
|
|
|
|
|
2010-02-01 08:33:06 +08:00
|
|
|
if RUBY_VERSION < '1.9'
|
|
|
|
gem "ruby-debug", ">= 0.10.3"
|
2009-10-21 07:33:54 +08:00
|
|
|
end
|
2009-11-11 06:59:22 +08:00
|
|
|
|
|
|
|
# AR
|
2010-02-05 01:52:27 +08:00
|
|
|
gem "sqlite3-ruby", ">= 1.2.5", :require => 'sqlite3'
|
2010-01-01 10:49:27 +08:00
|
|
|
|
2010-02-01 08:33:06 +08:00
|
|
|
group :test do
|
2010-01-01 10:49:27 +08:00
|
|
|
gem "pg", ">= 0.8.0"
|
|
|
|
gem "mysql", ">= 2.8.1"
|
|
|
|
end
|
2009-11-11 06:59:22 +08:00
|
|
|
|
|
|
|
# AP
|
2010-02-05 01:52:27 +08:00
|
|
|
gem "rack-test", "0.5.3", :require => 'rack/test'
|
2009-11-11 06:59:22 +08:00
|
|
|
gem "RedCloth", ">= 4.2.2"
|
|
|
|
|
2009-11-11 07:28:25 +08:00
|
|
|
if ENV['CI']
|
2009-11-11 06:59:22 +08:00
|
|
|
gem "nokogiri", ">= 1.4.0"
|
2010-02-05 01:52:27 +08:00
|
|
|
gem "memcache-client", ">= 1.7.6", :require => 'memcache'
|
2009-11-11 07:46:32 +08:00
|
|
|
|
|
|
|
# fcgi gem doesn't compile on 1.9
|
|
|
|
# avoid minitest strangeness on 1.9
|
|
|
|
if RUBY_VERSION < '1.9.0'
|
|
|
|
gem "fcgi", ">= 0.8.7"
|
|
|
|
else
|
2010-02-05 01:52:27 +08:00
|
|
|
gem "test-unit", ">= 2.0.5", :require => 'test/unit'
|
2009-11-11 07:46:32 +08:00
|
|
|
end
|
2009-11-11 06:59:22 +08:00
|
|
|
end
|