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 "json"
31 32
end

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

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

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

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

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

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

# 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