Gemfile 2.3 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 23 24
if ENV['AR_DEPRECATED_FINDERS']
  gem 'active_record_deprecated_finders', path: ENV['AR_DEPRECATED_FINDERS']
else
25
  gem 'active_record_deprecated_finders', github: 'rails/active_record_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

32
group :doc do
33 34 35 36
  # 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.
37
  gem 'sdoc',  github: 'fxn/sdoc'
38
  gem 'RedCloth', '~> 4.2'
39
  gem 'w3c_validators'
40
end
41

42
# AS
43
gem 'memcache-client', '>= 1.8.5'
44

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

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

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

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

  group :db do
64 65 66
    gem 'pg', '>= 0.11.0'
    gem 'mysql', '>= 2.8.1'
    gem 'mysql2', '>= 0.3.10'
67
  end
68 69 70
end

platforms :jruby do
71 72
  gem 'json'
  gem 'activerecord-jdbcsqlite3-adapter', '>= 1.2.0'
73

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

79
  group :db do
80 81
    gem 'activerecord-jdbcmysql-adapter', '>= 1.2.0'
    gem 'activerecord-jdbcpostgresql-adapter', '>= 1.2.0'
82
  end
83
end
84 85 86 87

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

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