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

3 4
gemspec

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

7
gem 'mocha', '~> 0.13.0', 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 'thread_safe', '~> 0.1'
16

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

19 20 21
# Needed for compiling the ActionDispatch::Journey parser
gem 'racc', '>=1.4.6', require: false

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

26
gem 'sprockets-rails', github: 'rails/sprockets-rails', branch: 'master'
27

28
group :doc do
X
Xavier Noria 已提交
29
  gem 'sdoc',  github: 'voloko/sdoc'
V
Vinny Diehl 已提交
30
  gem 'redcarpet', '~> 2.2.2', platforms: :ruby
31
  gem 'w3c_validators'
32
  gem 'kindlerb'
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
    gem 'debugger' if !ENV['TRAVIS'] && RUBY_VERSION < '2.0' && RUBY_PATCHLEVEL < 362
46 47 48
  end
end

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

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

  group :db do
57
    gem 'pg', '>= 0.11.0'
58
    gem 'mysql', '>= 2.9.0'
59
    gem 'mysql2', '>= 0.3.10'
60
  end
61 62 63
end

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

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

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

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

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

gem 'benchmark-ips'