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
end
33

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

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

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

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

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

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

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

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

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

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

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

gem 'benchmark-ips'