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

3 4
gemspec

5 6 7 8 9
# This needs to be with require false as it is
# loaded after loading the test library to
# ensure correct loading order
gem 'mocha', '~> 0.14', require: false

10
gem 'rack-cache', '~> 1.2'
11
gem 'jquery-rails', '~> 3.1.0'
12
gem 'turbolinks'
13
gem 'coffee-rails', '~> 4.0.0'
14
gem 'arel', github: 'rails/arel', branch: 'master'
A
Aaron Patterson 已提交
15
gem 'sprockets-rails', github: 'rails/sprockets-rails', branch: '2-1-stable'
A
Arthur Neves 已提交
16
gem 'i18n', github: 'svenfuchs/i18n', branch: 'master'
17

T
T.J. Schuck 已提交
18 19 20 21 22
# require: false so bcrypt is loaded only when has_secure_password is used.
# This is to avoid ActiveModel (and by extension the entire framework)
# being dependent on a binary library.
gem 'bcrypt', '~> 3.1.7', require: false

J
José Valim 已提交
23 24
# This needs to be with require false to avoid
# it being automatically loaded by sprockets
25
gem 'uglifier', '>= 1.3.0', require: false
26

27
group :doc do
X
Xavier Noria 已提交
28
  gem 'sdoc', '~> 0.4.0'
R
Robin Dupret 已提交
29
  gem 'redcarpet', '~> 3.1.2', platforms: :ruby
30
  gem 'w3c_validators'
31
  gem 'kindlerb'
32
end
33

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

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

41 42 43 44 45
group :test do
  platforms :mri_19 do
    gem 'ruby-prof', '~> 0.11.2'
  end

46 47 48
  # platforms :mri_19, :mri_20 do
  #   gem 'debugger'
  # end
49 50

  gem 'benchmark-ips'
51 52
end

53
platforms :ruby do
54
  gem 'nokogiri', '>= 1.4.5'
A
Arun Agrawal 已提交
55

56 57 58
  # Needed for compiling the ActionDispatch::Journey parser
  gem 'racc', '>=1.4.6', require: false

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

  group :db do
63
    gem 'pg', '>= 0.11.0'
64
    gem 'mysql', '>= 2.9.0'
J
Josef Šimánek 已提交
65
    gem 'mysql2', '>= 0.3.13'
66
  end
67 68 69
end

platforms :jruby do
K
Kassio Borges 已提交
70
  gem 'json'
71 72 73 74 75 76 77 78 79 80 81 82
  if ENV['AR_JDBC']
    gem 'activerecord-jdbcsqlite3-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
    group :db do
      gem 'activerecord-jdbcmysql-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
      gem 'activerecord-jdbcpostgresql-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
    end
  else
    gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
    group :db do
      gem 'activerecord-jdbcmysql-adapter', '>= 1.3.0'
      gem 'activerecord-jdbcpostgresql-adapter', '>= 1.3.0'
    end
83
  end
84
end
85 86

# gems that are necessary for ActiveRecord tests with Oracle database
87
if ENV['ORACLE_ENHANCED']
88
  platforms :ruby do
89
    gem 'ruby-oci8', '~> 2.1'
90
  end
91
  gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced', branch: 'master'
92
end
93

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