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

3 4
gemspec

5 6 7 8
if ENV['AREL']
  gem "arel", :path => ENV['AREL']
end

9
gem "bcrypt-ruby", "~> 3.0.0"
10
gem "jquery-rails"
11 12 13 14 15 16 17

if ENV['JOURNEY']
  gem "journey", :path => ENV['JOURNEY']
else
  gem "journey", :git => "git://github.com/rails/journey"
end

J
José Valim 已提交
18 19
# This needs to be with require false to avoid
# it being automatically loaded by sprockets
A
Arun Agrawal 已提交
20
gem "uglifier", ">= 1.0.3", :require => false
21

22
gem "rake", ">= 0.8.7"
23
gem "mocha", ">= 0.9.8"
24 25 26

group :doc do
  gem "rdoc",  "~> 3.4"
X
Xavier Noria 已提交
27
  gem "sdoc",  "~> 0.3"
28
  gem "RedCloth", "~> 4.2" if RUBY_VERSION < "1.9.3"
29
  gem "w3c_validators"
30
end
31

32 33 34 35
# AS
gem "memcache-client", ">= 1.8.5"

platforms :mri_18 do
36
  gem "system_timer"
37
  gem "ruby-debug", ">= 0.10.3" unless ENV['TRAVIS']
38
  gem "json"
39 40
end

41 42
platforms :mri_19 do
  # TODO: Remove the conditional when ruby-debug19 supports Ruby >= 1.9.3
43
  gem "ruby-debug19", :require => "ruby-debug" unless RUBY_VERSION > "1.9.2" || ENV['TRAVIS']
44 45
end

46 47 48 49 50 51
platforms :mri do
  group :test do
    gem "ruby-prof" if RUBY_VERSION < "1.9.3"
  end
end

52
platforms :ruby do
53
  if ENV["RB_FSEVENT"]
54
    gem "rb-fsevent"
55
  end
56 57
  gem "json"
  gem "yajl-ruby"
A
Alexey Gaziev 已提交
58
  gem "nokogiri", ">= 1.4.5"
A
Arun Agrawal 已提交
59

60
  # AR
T
Terence Lee 已提交
61
  gem "sqlite3", "~> 1.3.4"
62 63

  group :db do
64
    gem "pg", ">= 0.11.0" unless ENV['TRAVIS'] # once pg is on travis this can be removed
65
    gem "mysql", ">= 2.8.1"
G
Guillermo Iguaran 已提交
66
    gem "mysql2", ">= 0.3.6"
67
  end
68 69 70 71
end

platforms :jruby do
  gem "ruby-debug", ">= 0.10.3"
72
  gem "json"
A
Arun Agrawal 已提交
73
  gem "activerecord-jdbcsqlite3-adapter", ">= 1.2.0"
74

75 76 77
  # 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
78 79
  gem "jruby-openssl"

80
  group :db do
A
Arun Agrawal 已提交
81 82
    gem "activerecord-jdbcmysql-adapter", ">= 1.2.0"
    gem "activerecord-jdbcpostgresql-adapter", ">= 1.2.0"
83
  end
84
end
85 86 87 88

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

Y
Yasuo Honda 已提交
98
# A gem necessary for ActiveRecord tests with IBM DB
99
gem "ibm_db" if ENV['IBM_DB']