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 32 33 34 35
group :test do
  platforms :mri_19 do
    gem 'ruby-prof', '~> 0.11.2'
  end

  platforms :mri_19, :mri_20 do
36
    gem 'debugger'
37
  end
38 39

  gem 'benchmark-ips'
40 41
end

42
platforms :ruby do
43 44
  gem 'yajl-ruby'
  gem 'nokogiri', '>= 1.4.5'
A
Arun Agrawal 已提交
45

46 47 48
  # Needed for compiling the ActionDispatch::Journey parser
  gem 'racc', '>=1.4.6', require: false

49
  # AR
O
Oscar Del Ben 已提交
50
  gem 'sqlite3', '~> 1.3.6'
51 52

  group :db do
53
    gem 'pg', '>= 0.11.0'
54
    gem 'mysql', '>= 2.9.0'
55
    gem 'mysql2', '>= 0.3.10'
56
  end
57 58 59
end

platforms :jruby do
60
  gem 'json'
61
  gem 'activerecord-jdbcsqlite3-adapter', '>= 1.2.7'
62

63 64 65
  # 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
66
  gem 'jruby-openssl'
67

68
  group :db do
69 70
    gem 'activerecord-jdbcmysql-adapter', '>= 1.2.7'
    gem 'activerecord-jdbcpostgresql-adapter', '>= 1.2.7'
71
  end
72
end
73 74

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

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