Gemfile 1.7 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"
D
David Heinemeier Hansson 已提交
13
gem "uglifier"
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 29
  gem "system_timer"
  gem "ruby-debug", ">= 0.10.3"
30
  gem 'ruby-prof'
31
  gem "json"
32 33
end

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

39
platforms :ruby do
40 41 42
  if ENV["RB_FSEVENT"]
    gem 'rb-fsevent'
  end
43 44
  gem 'json'
  gem 'yajl-ruby'
45
  gem "nokogiri", ">= 1.4.4"
46
  gem "ruby-prof"
47
  # AR
48
  gem "sqlite3", "~> 1.3.3"
49 50

  group :db do
A
Aaron Patterson 已提交
51
    gem "pg", ">= 0.11.0"
52
    gem "mysql", ">= 2.8.1"
53
    gem "mysql2", ">= 0.3.0"
54
  end
55 56 57 58
end

platforms :jruby do
  gem "ruby-debug", ">= 0.10.3"
59
  gem "json"
60
  gem "activerecord-jdbcsqlite3-adapter"
61

62 63 64
  # 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
65 66
  gem "jruby-openssl"

67 68 69 70
  group :db do
    gem "activerecord-jdbcmysql-adapter"
    gem "activerecord-jdbcpostgresql-adapter"
  end
71
end
72 73 74 75 76 77 78 79 80 81 82 83

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