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

3 4
gemspec

5 6 7 8
if ENV['AREL']
  gem "arel", :path => ENV['AREL']
end

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

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

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

22 23 24 25 26 27
# Temp fix until rake 0.9.3 is out
if RUBY_VERSION >= "1.9.3"
  gem "rake", "0.9.3.beta.1"
else
  gem "rake", ">= 0.8.7"
end
28
gem "mocha", ">= 0.9.8"
29 30 31

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

37 38 39 40
# AS
gem "memcache-client", ">= 1.8.5"

platforms :mri_18 do
41
  gem "system_timer"
42
  gem "ruby-debug", ">= 0.10.3" unless ENV['TRAVIS']
43
  gem "json"
44 45
end

46 47
platforms :mri_19 do
  # TODO: Remove the conditional when ruby-debug19 supports Ruby >= 1.9.3
48
  gem "ruby-debug19", :require => "ruby-debug" unless RUBY_VERSION > "1.9.2" || ENV['TRAVIS']
49 50
end

51 52 53 54 55 56
platforms :mri do
  group :test do
    gem "ruby-prof" if RUBY_VERSION < "1.9.3"
  end
end

57
platforms :ruby do
58
  if ENV["RB_FSEVENT"]
59
    gem "rb-fsevent"
60
  end
61 62
  gem "json"
  gem "yajl-ruby"
A
Alexey Gaziev 已提交
63
  gem "nokogiri", ">= 1.4.5"
A
Arun Agrawal 已提交
64

65
  # AR
T
Terence Lee 已提交
66
  gem "sqlite3", "~> 1.3.4"
67 68

  group :db do
69
    gem "pg", ">= 0.11.0" unless ENV['TRAVIS'] # once pg is on travis this can be removed
70
    gem "mysql", ">= 2.8.1"
G
Guillermo Iguaran 已提交
71
    gem "mysql2", ">= 0.3.6"
72
  end
73 74 75 76
end

platforms :jruby do
  gem "ruby-debug", ">= 0.10.3"
77
  gem "json"
A
Arun Agrawal 已提交
78
  gem "activerecord-jdbcsqlite3-adapter", ">= 1.2.0"
79

80 81 82
  # 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
83 84
  gem "jruby-openssl"

85
  group :db do
A
Arun Agrawal 已提交
86 87
    gem "activerecord-jdbcmysql-adapter", ">= 1.2.0"
    gem "activerecord-jdbcpostgresql-adapter", ">= 1.2.0"
88
  end
89
end
90 91 92 93

# gems that are necessary for ActiveRecord tests with Oracle database
if ENV['ORACLE_ENHANCED_PATH'] || ENV['ORACLE_ENHANCED']
  platforms :ruby do
94
    gem "ruby-oci8", ">= 2.0.4"
95 96
  end
  if ENV['ORACLE_ENHANCED_PATH']
97
    gem "activerecord-oracle_enhanced-adapter", :path => ENV['ORACLE_ENHANCED_PATH']
98 99 100 101
  else
    gem "activerecord-oracle_enhanced-adapter", :git => "git://github.com/rsim/oracle-enhanced.git"
  end
end
102 103 104

# A gem necessary for ActiveRecord tests with Oracle database
gem "ibm_db" if ENV['IBM_DB']