2013-12-06 19:51:55 -05:00
|
|
|
source 'https://rubygems.org'
|
2011-03-30 20:31:39 -04:00
|
|
|
gemspec
|
|
|
|
|
2011-07-17 19:04:00 -04:00
|
|
|
gem 'rake'
|
|
|
|
|
2014-09-22 15:07:12 -04:00
|
|
|
rails = ENV['RAILS'] || 'master'
|
2011-07-17 19:04:00 -04:00
|
|
|
|
2014-10-12 17:05:53 -04:00
|
|
|
if rails[0,3] == '4.2' || rails == 'master'
|
|
|
|
gem 'arel', github: 'rails/arel', branch: 'master'
|
|
|
|
end
|
|
|
|
|
2014-08-21 18:01:13 -04:00
|
|
|
gem 'polyamorous', '~> 1.1'
|
2011-07-17 19:04:00 -04:00
|
|
|
|
2014-08-01 01:15:58 -04:00
|
|
|
gem 'pry'
|
|
|
|
|
2014-10-06 08:07:37 -04:00
|
|
|
# Provide timezone information on Windows
|
|
|
|
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
|
|
|
|
|
2011-07-17 19:04:00 -04:00
|
|
|
case rails
|
|
|
|
when /\// # A path
|
2013-07-04 10:21:06 -04:00
|
|
|
gem 'activesupport', path: "#{rails}/activesupport"
|
2014-08-01 02:42:45 -04:00
|
|
|
gem 'activerecord', path: "#{rails}/activerecord", require: false
|
2014-06-08 20:59:16 -04:00
|
|
|
gem 'actionpack', path: "#{rails}/actionpack"
|
2011-07-17 19:04:00 -04:00
|
|
|
when /^v/ # A tagged version
|
2014-05-01 09:55:39 -04:00
|
|
|
git 'git://github.com/rails/rails.git', :tag => rails do
|
2011-07-17 19:04:00 -04:00
|
|
|
gem 'activesupport'
|
|
|
|
gem 'activemodel'
|
2014-08-01 02:42:45 -04:00
|
|
|
gem 'activerecord', require: false
|
2011-07-17 19:04:00 -04:00
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2011-05-30 11:14:30 -04:00
|
|
|
else
|
2014-05-01 09:55:39 -04:00
|
|
|
git 'git://github.com/rails/rails.git', :branch => rails do
|
2011-05-30 11:14:30 -04:00
|
|
|
gem 'activesupport'
|
2011-07-17 19:04:00 -04:00
|
|
|
gem 'activemodel'
|
2014-08-01 02:42:45 -04:00
|
|
|
gem 'activerecord', require: false
|
2011-05-30 11:14:30 -04:00
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2013-12-04 10:09:33 -05:00
|
|
|
if rails == '3-0-stable'
|
|
|
|
gem 'mysql2', '< 0.3'
|
|
|
|
end
|
2012-01-19 09:06:10 -05:00
|
|
|
end
|
2014-08-01 02:42:45 -04:00
|
|
|
|
2014-08-04 01:48:13 -04:00
|
|
|
if ENV['DB'] =~ /mongodb/
|
2014-08-04 01:43:36 -04:00
|
|
|
gem 'mongoid', '~> 4.0.0', require: false
|
|
|
|
end
|