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

3 4
gemspec

5
gem 'mocha', '~> 0.13.0', require: false
6
gem 'rack-cache', '~> 1.2'
7
gem 'bcrypt-ruby', '~> 3.0.0'
8
gem 'jquery-rails', '~> 2.2.0'
9
gem 'turbolinks'
10
gem 'coffee-rails', '~> 4.0.0.beta1'
11

J
José Valim 已提交
12 13
# This needs to be with require false to avoid
# it being automatically loaded by sprockets
14
gem 'uglifier', require: false
15

16
group :doc do
X
Xavier Noria 已提交
17
  gem 'sdoc',  github: 'voloko/sdoc'
V
Vinny Diehl 已提交
18
  gem 'redcarpet', '~> 2.2.2', platforms: :ruby
19
  gem 'w3c_validators'
20
  gem 'kindlerb'
21
end
22

23
# AS
24
gem 'dalli', '>= 2.2.1'
25

26
# Add your own local bundler stuff
B
Bogdan Gusiev 已提交
27 28
local_gemfile = File.dirname(__FILE__) + "/.Gemfile"
instance_eval File.read local_gemfile if File.exists? local_gemfile
29

30 31
platforms :mri do
  group :test do
32
    gem 'ruby-prof', '~> 0.11.2' if RUBY_VERSION < '2.0'
33
    gem 'debugger' if !ENV['TRAVIS']
34 35 36
  end
end

37
platforms :ruby do
38 39
  gem 'yajl-ruby'
  gem 'nokogiri', '>= 1.4.5'
A
Arun Agrawal 已提交
40

41 42 43
  # Needed for compiling the ActionDispatch::Journey parser
  gem 'racc', '>=1.4.6', require: false

44
  # AR
O
Oscar Del Ben 已提交
45
  gem 'sqlite3', '~> 1.3.6'
46 47

  group :db do
48
    gem 'pg', '>= 0.11.0'
49
    gem 'mysql', '>= 2.9.0'
50
    gem 'mysql2', '>= 0.3.10'
51
  end
52 53 54
end

platforms :jruby do
55
  gem 'json'
56
  gem 'activerecord-jdbcsqlite3-adapter', '>= 1.2.7'
57

58 59 60
  # 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
61
  gem 'jruby-openssl'
62

63
  group :db do
64 65
    gem 'activerecord-jdbcmysql-adapter', '>= 1.2.7'
    gem 'activerecord-jdbcpostgresql-adapter', '>= 1.2.7'
66
  end
67
end
68 69

# gems that are necessary for ActiveRecord tests with Oracle database
70
if ENV['ORACLE_ENHANCED']
71
  platforms :ruby do
72
    gem 'ruby-oci8', '>= 2.0.4'
73
  end
74
  gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced', branch: 'master'
75
end
76

Y
Yasuo Honda 已提交
77
# A gem necessary for ActiveRecord tests with IBM DB
78
gem 'ibm_db' if ENV['IBM_DB']
79 80

gem 'benchmark-ips'