Gemfile 1.9 KB
Newer Older
1
source "http://rubygems.org"
2

3 4
gemspec

5 6 7
if ENV['AREL']
  gem "arel", :path => ENV['AREL']
else
8
  gem "arel", '~> 2.1.0'
9 10
end

11
gem "coffee-script"
12
gem "sass"
13
gem "uglifier", :git => "git://github.com/lautis/uglifier.git"
14

15
gem "rake",  ">= 0.8.7"
16
gem "mocha", ">= 0.9.8"
17 18 19 20

group :doc do
  gem "rdoc",  "~> 3.4"
  gem "horo",  "= 1.0.3"
21
  gem "RedCloth", "~> 4.2" if RUBY_VERSION < "1.9.3"
22
end
23

24 25 26 27
# AS
gem "memcache-client", ">= 1.8.5"

platforms :mri_18 do
28
  gem "system_timer"
29 30 31
  # ruby-debug requires linecache which depends on require_relative but doesn't explicitly
  # declare this in its gemspec
  gem "require_relative"
32
  gem "ruby-debug", ">= 0.10.3"
33
  gem "json"
34 35
end

36 37
platforms :mri_19 do
  # TODO: Remove the conditional when ruby-debug19 supports Ruby >= 1.9.3
38
  gem "ruby-debug19", :require => "ruby-debug" if RUBY_VERSION < "1.9.3"
39 40
end

41
platforms :ruby do
42
  if ENV["RB_FSEVENT"]
43
    gem "rb-fsevent"
44
  end
45 46
  gem "json"
  gem "yajl-ruby"
A
Alexey Gaziev 已提交
47
  gem "nokogiri", ">= 1.4.5"
A
Arun Agrawal 已提交
48 49

  group :test do
50 51
    gem "ruby-prof" if RUBY_VERSION < "1.9.3"

A
Arun Agrawal 已提交
52
  end
53
  # AR
54
  gem "sqlite3", "~> 1.3.3"
55 56

  group :db do
A
Aaron Patterson 已提交
57
    gem "pg", ">= 0.11.0"
58
    gem "mysql", ">= 2.8.1"
A
Arun Agrawal 已提交
59
    gem "mysql2", ">= 0.3.5"
60
  end
61 62 63 64
end

platforms :jruby do
  gem "ruby-debug", ">= 0.10.3"
65
  gem "json"
66
  gem "activerecord-jdbcsqlite3-adapter"
67

68 69 70
  # This is needed by now to let tests work on JRuby
  # TODO: When the JRuby guys merge jruby-openssl in
  # jruby this will be removed
71 72
  gem "jruby-openssl"

73 74 75 76
  group :db do
    gem "activerecord-jdbcmysql-adapter"
    gem "activerecord-jdbcpostgresql-adapter"
  end
77
end
78 79 80 81

# gems that are necessary for ActiveRecord tests with Oracle database
if ENV['ORACLE_ENHANCED_PATH'] || ENV['ORACLE_ENHANCED']
  platforms :ruby do
82
    gem "ruby-oci8", ">= 2.0.4"
83 84
  end
  if ENV['ORACLE_ENHANCED_PATH']
85
    gem "activerecord-oracle_enhanced-adapter", :path => ENV['ORACLE_ENHANCED_PATH']
86 87 88 89
  else
    gem "activerecord-oracle_enhanced-adapter", :git => "git://github.com/rsim/oracle-enhanced.git"
  end
end