Gemfile 2.4 KB
Newer Older
1
source 'https://rubygems.org'
2

3 4
gemspec

5
if ENV['AREL']
6
  gem 'arel', path: ENV['AREL']
7
else
8
  gem 'arel', github: 'rails/arel'
9 10
end

11
gem 'mocha', '>= 0.11.2', :require => false
12
gem 'rack-test', github: "brynary/rack-test"
13 14
gem 'bcrypt-ruby', '~> 3.0.0'
gem 'jquery-rails'
15 16

if ENV['JOURNEY']
17
  gem 'journey', path: ENV['JOURNEY']
18
else
19
  gem 'journey', github: "rails/journey"
20 21
end

22
if ENV['AR_DEPRECATED_FINDERS']
23
  gem 'activerecord-deprecated_finders', path: ENV['AR_DEPRECATED_FINDERS']
24
else
25
  gem 'activerecord-deprecated_finders', github: 'rails/activerecord-deprecated_finders'
26 27
end

J
José Valim 已提交
28 29
# This needs to be with require false to avoid
# it being automatically loaded by sprockets
30
gem 'uglifier', '>= 1.0.3', require: false
31
gem 'sprockets-rails', github: 'rails/sprockets-rails'
32

33
group :doc do
34 35 36 37
  # The current sdoc cannot generate GitHub links due
  # to a bug, but the PR that fixes it has been there
  # for some weeks unapplied. As a temporary solution
  # this is our own fork with the fix.
38
  gem 'sdoc',  github: 'fxn/sdoc'
39
  gem 'redcarpet', '~> 2.1.1'
40
  gem 'w3c_validators'
41
end
42

43
# AS
44
gem 'dalli', '>= 2.2.1'
45

46
# Add your own local bundler stuff
B
Bogdan Gusiev 已提交
47 48
local_gemfile = File.dirname(__FILE__) + "/.Gemfile"
instance_eval File.read local_gemfile if File.exists? local_gemfile
49

50 51
platforms :mri do
  group :test do
52
    gem 'ruby-prof', '~> 0.11.2'
53 54 55
  end
end

56
platforms :ruby do
57 58 59
  gem 'json'
  gem 'yajl-ruby'
  gem 'nokogiri', '>= 1.4.5'
A
Arun Agrawal 已提交
60

61
  # AR
O
Oscar Del Ben 已提交
62
  gem 'sqlite3', '~> 1.3.6'
63 64

  group :db do
65
    gem 'pg', '>= 0.11.0'
66
    gem 'mysql', '>= 2.8.1' if RUBY_VERSION < '2.0.0'
67
    gem 'mysql2', '>= 0.3.10'
68
  end
69 70 71
end

platforms :jruby do
72 73
  gem 'json'
  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
  gem 'jruby-openssl'
79

80
  group :db do
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
  else
94
    gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced'
95 96
  end
end
97

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

gem 'benchmark-ips'