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

3 4
gemspec

5
gem 'arel', github: 'rails/arel', branch: 'master'
6

7
gem 'mocha', github: 'freerange/mocha', require: false
8
gem 'rack-test', github: 'brynary/rack-test'
9
gem 'rack-cache', '~> 1.2'
10
gem 'bcrypt-ruby', '~> 3.0.0'
11
gem 'jquery-rails', '~> 2.1.4', github: 'rails/jquery-rails'
12 13
gem 'turbolinks'
gem 'coffee-rails', github: 'rails/coffee-rails'
14

15
gem 'journey', github: 'rails/journey', branch: 'master'
16

17
gem 'activerecord-deprecated_finders', github: 'rails/activerecord-deprecated_finders', branch: 'master'
18

J
José Valim 已提交
19 20
# This needs to be with require false to avoid
# it being automatically loaded by sprockets
21
gem 'uglifier', require: false
22

23
gem 'sprockets-rails', github: 'rails/sprockets-rails', branch: 'master'
24

25
group :doc do
26 27 28 29
  # 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.
X
Xavier Noria 已提交
30
  gem 'sdoc',  github: 'voloko/sdoc'
V
Vinny Diehl 已提交
31
  gem 'redcarpet', '~> 2.2.2', platforms: :ruby
32
  gem 'w3c_validators'
33
end
34

35
# AS
36
gem 'dalli', '>= 2.2.1'
37

38
# Add your own local bundler stuff
B
Bogdan Gusiev 已提交
39 40
local_gemfile = File.dirname(__FILE__) + "/.Gemfile"
instance_eval File.read local_gemfile if File.exists? local_gemfile
41

42 43
platforms :mri do
  group :test do
44
    gem 'ruby-prof', '~> 0.11.2' if RUBY_VERSION < '2.0'
45 46
    gem 'debugger' if !ENV['TRAVIS'] && RUBY_VERSION < '2.0' && RUBY_PATCHLEVEL < 327

47 48 49
  end
end

50
platforms :ruby do
51 52
  gem 'yajl-ruby'
  gem 'nokogiri', '>= 1.4.5'
A
Arun Agrawal 已提交
53

54
  # AR
O
Oscar Del Ben 已提交
55
  gem 'sqlite3', '~> 1.3.6'
56 57

  group :db do
58
    gem 'pg', '>= 0.11.0'
59
    gem 'mysql', '>= 2.8.1' if RUBY_VERSION < '2.0.0'
60
    gem 'mysql2', '>= 0.3.10'
61
  end
62 63 64
end

platforms :jruby do
65 66
  gem 'json'
  gem 'activerecord-jdbcsqlite3-adapter', '>= 1.2.0'
67

68 69 70
  # 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
71
  gem 'jruby-openssl'
72

73
  group :db do
74 75
    gem 'activerecord-jdbcmysql-adapter', '>= 1.2.0'
    gem 'activerecord-jdbcpostgresql-adapter', '>= 1.2.0'
76
  end
77
end
78 79

# gems that are necessary for ActiveRecord tests with Oracle database
80
if ENV['ORACLE_ENHANCED']
81
  platforms :ruby do
82
    gem 'ruby-oci8', '>= 2.0.4'
83
  end
84
  gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced', branch: 'master'
85
end
86

Y
Yasuo Honda 已提交
87
# A gem necessary for ActiveRecord tests with IBM DB
88
gem 'ibm_db' if ENV['IBM_DB']
89 90

gem 'benchmark-ips'