2011-12-12 11:16:52 -05:00
|
|
|
source 'https://rubygems.org'
|
2010-01-31 19:33:06 -05:00
|
|
|
|
2010-12-18 13:42:03 -05:00
|
|
|
gemspec
|
|
|
|
|
2010-07-25 19:44:14 -04:00
|
|
|
if ENV['AREL']
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'arel', :path => ENV['AREL']
|
2011-11-04 12:10:18 -04:00
|
|
|
else
|
2011-12-14 16:26:41 -05:00
|
|
|
gem 'arel'
|
2010-07-25 19:44:14 -04:00
|
|
|
end
|
|
|
|
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'bcrypt-ruby', '~> 3.0.0'
|
|
|
|
gem 'jquery-rails'
|
2011-09-08 13:51:23 -04:00
|
|
|
|
|
|
|
if ENV['JOURNEY']
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'journey', :path => ENV['JOURNEY']
|
2011-09-08 13:51:23 -04:00
|
|
|
else
|
2011-12-21 13:41:19 -05:00
|
|
|
gem 'journey', :git => "git://github.com/rails/journey"
|
2011-09-08 13:51:23 -04:00
|
|
|
end
|
|
|
|
|
2011-07-06 20:38:54 -04:00
|
|
|
# This needs to be with require false to avoid
|
|
|
|
# it being automatically loaded by sprockets
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'uglifier', '>= 1.0.3', :require => false
|
2011-03-29 16:42:57 -04:00
|
|
|
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'rake', '>= 0.8.7'
|
|
|
|
gem 'mocha', '>= 0.9.8'
|
2011-01-12 15:15:57 -05:00
|
|
|
|
|
|
|
group :doc do
|
2011-12-08 07:56:16 -05:00
|
|
|
# The current sdoc cannot generate GitHub links due
|
|
|
|
# to a bug, but the PR that fixes it has been there
|
|
|
|
# for some weeks unapplied. As a temporary solution
|
|
|
|
# this is our own fork with the fix.
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'sdoc', :git => 'git://github.com/fxn/sdoc.git'
|
2011-12-15 18:22:14 -05:00
|
|
|
gem 'RedCloth', '~> 4.2'
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'w3c_validators'
|
2011-01-12 15:15:57 -05:00
|
|
|
end
|
2009-11-10 17:59:22 -05:00
|
|
|
|
2010-07-25 18:31:45 -04:00
|
|
|
# AS
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'memcache-client', '>= 1.8.5'
|
2010-07-25 18:31:45 -04:00
|
|
|
|
|
|
|
platforms :mri_18 do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'system_timer'
|
|
|
|
gem 'json'
|
2010-05-19 10:24:51 -04:00
|
|
|
end
|
|
|
|
|
2011-11-17 17:41:53 -05:00
|
|
|
# Add your own local bundler stuff
|
2011-12-12 11:16:52 -05:00
|
|
|
instance_eval File.read '.Gemfile' if File.exists? '.Gemfile'
|
2010-11-05 17:11:58 -04:00
|
|
|
|
2011-07-22 08:55:48 -04:00
|
|
|
platforms :mri do
|
|
|
|
group :test do
|
2011-12-20 14:17:48 -05:00
|
|
|
gem 'ruby-prof'
|
2011-07-22 08:55:48 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2010-07-25 18:31:45 -04:00
|
|
|
platforms :ruby do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'json'
|
|
|
|
gem 'yajl-ruby'
|
|
|
|
gem 'nokogiri', '>= 1.4.5'
|
2011-05-05 13:47:07 -04:00
|
|
|
|
2010-07-25 18:31:45 -04:00
|
|
|
# AR
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'sqlite3', '~> 1.3.5'
|
2010-05-19 16:38:27 -04:00
|
|
|
|
|
|
|
group :db do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'pg', '>= 0.11.0'
|
|
|
|
gem 'mysql', '>= 2.8.1'
|
|
|
|
gem 'mysql2', '>= 0.3.10'
|
2010-05-19 16:38:27 -04:00
|
|
|
end
|
2010-07-25 18:31:45 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
platforms :jruby do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'json'
|
|
|
|
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.2.0'
|
2009-12-31 21:49:27 -05:00
|
|
|
|
2010-10-07 11:49:40 -04:00
|
|
|
# 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
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'jruby-openssl'
|
2010-10-06 13:45:48 -04:00
|
|
|
|
2010-05-19 16:38:27 -04:00
|
|
|
group :db do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'activerecord-jdbcmysql-adapter', '>= 1.2.0'
|
|
|
|
gem 'activerecord-jdbcpostgresql-adapter', '>= 1.2.0'
|
2010-05-19 16:38:27 -04:00
|
|
|
end
|
2009-12-31 21:49:27 -05:00
|
|
|
end
|
2010-08-16 16:58:17 -04:00
|
|
|
|
|
|
|
# gems that are necessary for ActiveRecord tests with Oracle database
|
|
|
|
if ENV['ORACLE_ENHANCED_PATH'] || ENV['ORACLE_ENHANCED']
|
|
|
|
platforms :ruby do
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'ruby-oci8', '>= 2.0.4'
|
2010-08-16 16:58:17 -04:00
|
|
|
end
|
|
|
|
if ENV['ORACLE_ENHANCED_PATH']
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'activerecord-oracle_enhanced-adapter', :path => ENV['ORACLE_ENHANCED_PATH']
|
2010-08-16 16:58:17 -04:00
|
|
|
else
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'activerecord-oracle_enhanced-adapter', :git => 'git://github.com/rsim/oracle-enhanced.git'
|
2010-08-16 16:58:17 -04:00
|
|
|
end
|
|
|
|
end
|
2011-10-02 22:51:01 -04:00
|
|
|
|
2011-10-03 11:56:11 -04:00
|
|
|
# A gem necessary for ActiveRecord tests with IBM DB
|
2011-12-12 11:16:52 -05:00
|
|
|
gem 'ibm_db' if ENV['IBM_DB']
|