Gemfile 2.1 KB
Newer Older
1
source "http://rubygems.org"
2

3 4
gemspec

5 6
if ENV['AREL']
  gem "arel", :path => ENV['AREL']
7 8
else
  gem "arel", :git => "git://github.com/rails/arel"
9 10
end

11
gem "bcrypt-ruby", "~> 3.0.0"
12
gem "jquery-rails"
13 14 15 16 17 18 19

if ENV['JOURNEY']
  gem "journey", :path => ENV['JOURNEY']
else
  gem "journey", :git => "git://github.com/rails/journey"
end

J
José Valim 已提交
20 21
# This needs to be with require false to avoid
# it being automatically loaded by sprockets
A
Arun Agrawal 已提交
22
gem "uglifier", ">= 1.0.3", :require => false
23

24
gem "rake", ">= 0.8.7"
25
gem "mocha", ">= 0.9.8"
26 27 28

group :doc do
  gem "rdoc",  "~> 3.4"
X
Xavier Noria 已提交
29
  gem "sdoc",  "~> 0.3"
30
  gem "RedCloth", "~> 4.2" if RUBY_VERSION < "1.9.3"
31
  gem "w3c_validators"
32
end
33

34 35 36 37
# AS
gem "memcache-client", ">= 1.8.5"

platforms :mri_18 do
38
  gem "system_timer"
39
  gem "json"
40 41
end

42 43
# Add your own local bundler stuff
instance_eval File.read ".Gemfile" if File.exists? ".Gemfile"
44

45 46 47 48 49 50
platforms :mri do
  group :test do
    gem "ruby-prof" if RUBY_VERSION < "1.9.3"
  end
end

51
platforms :ruby do
52
  if ENV["RB_FSEVENT"]
53
    gem "rb-fsevent"
54
  end
55 56
  gem "json"
  gem "yajl-ruby"
A
Alexey Gaziev 已提交
57
  gem "nokogiri", ">= 1.4.5"
A
Arun Agrawal 已提交
58

59
  # AR
A
Arun Agrawal 已提交
60
  gem "sqlite3", "~> 1.3.5"
61 62

  group :db do
63
    gem "pg", ">= 0.11.0"
64
    gem "mysql", ">= 2.8.1"
A
Arun Agrawal 已提交
65
    gem "mysql2", ">= 0.3.10"
66
  end
67 68 69
end

platforms :jruby do
70
  gem "json"
A
Arun Agrawal 已提交
71
  gem "activerecord-jdbcsqlite3-adapter", ">= 1.2.0"
72

73 74 75
  # 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
76 77
  gem "jruby-openssl"

78
  group :db do
A
Arun Agrawal 已提交
79 80
    gem "activerecord-jdbcmysql-adapter", ">= 1.2.0"
    gem "activerecord-jdbcpostgresql-adapter", ">= 1.2.0"
81
  end
82
end
83 84 85 86

# gems that are necessary for ActiveRecord tests with Oracle database
if ENV['ORACLE_ENHANCED_PATH'] || ENV['ORACLE_ENHANCED']
  platforms :ruby do
87
    gem "ruby-oci8", ">= 2.0.4"
88 89
  end
  if ENV['ORACLE_ENHANCED_PATH']
90
    gem "activerecord-oracle_enhanced-adapter", :path => ENV['ORACLE_ENHANCED_PATH']
91 92 93 94
  else
    gem "activerecord-oracle_enhanced-adapter", :git => "git://github.com/rsim/oracle-enhanced.git"
  end
end
95

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