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'
9 10
end

11
gem 'rack-test', :git => "git://github.com/brynary/rack-test.git"
12 13
gem 'bcrypt-ruby', '~> 3.0.0'
gem 'jquery-rails'
14 15

if ENV['JOURNEY']
16
  gem 'journey', :path => ENV['JOURNEY']
17
else
A
Aaron Patterson 已提交
18
  gem 'journey', :git => "git://github.com/rails/journey"
19 20
end

21 22 23 24 25 26
if ENV['AR_DEPRECATED_FINDERS']
  gem 'active_record_deprecated_finders', path: ENV['AR_DEPRECATED_FINDERS']
else
  gem 'active_record_deprecated_finders', git: 'git://github.com/rails/active_record_deprecated_finders'
end

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

31
gem 'rake', '>= 0.8.7'
A
Arun Agrawal 已提交
32
gem 'mocha', '>= 0.11.2'
33 34

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

44
# AS
45
gem 'memcache-client', '>= 1.8.5'
46

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

51 52
platforms :mri do
  group :test do
53
    gem 'ruby-prof'
54 55 56
  end
end

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

62
  # AR
63
  gem 'sqlite3', '~> 1.3.5'
64 65

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

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

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

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

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

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