aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
blob: 827c67e52247e582cda89f304ffd6bdb304de3ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
source 'http://rubygems.org'

gem "arel", :git => "git://github.com/rails/arel.git"
#gem "rack-mount", :git => "git://github.com/rails/rack-mount.git"
gem "rails", :path => File.dirname(__FILE__)

gem "rake",  ">= 0.8.7"
gem "mocha", ">= 0.9.8"
gem "rdoc",  "2.2"

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

# AS
gem "memcache-client", ">= 1.7.5"

# AM
gem "text-format", "~> 1.0.0"

# AR
if mri || RUBY_ENGINE == "rbx"
  gem "sqlite3-ruby", "~> 1.3.0", :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

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