Gemfile 2.1 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"
J
José Valim 已提交
11 12
# This needs to be with require false to avoid
# it being automatically loaded by sprockets
A
Arun Agrawal 已提交
13
gem "uglifier", ">= 1.0.3", :require => false
14

15 16 17 18 19 20
# 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
21
gem "mocha", ">= 0.9.8"
22 23 24

group :doc do
  gem "rdoc",  "~> 3.4"
X
Xavier Noria 已提交
25
  gem "sdoc",  "~> 0.3"
26
  gem "RedCloth", "~> 4.2" if RUBY_VERSION < "1.9.3"
27
  gem "w3c_validators"
28
end
29

30 31 32 33
# AS
gem "memcache-client", ">= 1.8.5"

platforms :mri_18 do
34
  gem "system_timer"
35
  gem "ruby-debug", ">= 0.10.3" unless ENV['TRAVIS']
36
  gem "json"
37 38
end

39 40
platforms :mri_19 do
  # TODO: Remove the conditional when ruby-debug19 supports Ruby >= 1.9.3
41
  gem "ruby-debug19", :require => "ruby-debug" unless RUBY_VERSION > "1.9.2" || ENV['TRAVIS']
42 43
end

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

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

58
  # AR
59
  gem "sqlite3", "~> 1.3.3"
60 61

  group :db do
62
    gem "pg", ">= 0.11.0" unless ENV['TRAVIS'] # once pg is on travis this can be removed
63
    gem "mysql", ">= 2.8.1"
G
Guillermo Iguaran 已提交
64
    gem "mysql2", ">= 0.3.6"
65
  end
66 67 68 69
end

platforms :jruby do
  gem "ruby-debug", ">= 0.10.3"
70
  gem "json"
71
  gem "activerecord-jdbcsqlite3-adapter"
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 79 80 81
  group :db do
    gem "activerecord-jdbcmysql-adapter"
    gem "activerecord-jdbcpostgresql-adapter"
  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