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'
|
|
|
|
|
2013-07-04 10:21:06 -04:00
|
|
|
rails = ENV['RAILS'] || '4-0-stable'
|
2011-07-17 19:04:00 -04:00
|
|
|
|
2013-05-20 18:33:25 -04:00
|
|
|
gem 'arel'
|
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"
|
|
|
|
gem 'activemodel', path: "#{rails}/activemodel"
|
|
|
|
gem 'activerecord', path: "#{rails}/activerecord"
|
|
|
|
gem 'actionpack', path: "#{rails}/activerecord"
|
2011-07-17 19:04:00 -04:00
|
|
|
when /^v/ # A tagged version
|
2013-07-04 10:21:06 -04:00
|
|
|
git 'git://github.com/rails/rails.git', tag: rails do
|
2011-07-17 19:04:00 -04:00
|
|
|
gem 'activesupport'
|
|
|
|
gem 'activemodel'
|
|
|
|
gem 'activerecord'
|
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2011-05-30 11:14:30 -04:00
|
|
|
else
|
2013-07-04 10:21:06 -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'
|
2011-05-30 11:14:30 -04:00
|
|
|
gem 'activerecord'
|
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2013-12-06 19:51:55 -05:00
|
|
|
if rails == '3-0-stable'
|
|
|
|
gem 'mysql2', '< 0.3'
|
|
|
|
end
|
2012-01-19 09:06:10 -05:00
|
|
|
end
|