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