2013-08-06 13:00:52 -04: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-08-06 13:00:52 -04:00
|
|
|
rails = ENV['RAILS'] || '4-0-stable'
|
2011-07-17 19:04:00 -04:00
|
|
|
|
2013-08-06 13:00:52 -04:00
|
|
|
gem 'arel'
|
2011-07-17 19:04:00 -04:00
|
|
|
|
|
|
|
case rails
|
|
|
|
when /\// # A path
|
|
|
|
gem 'activesupport', :path => "#{rails}/activesupport"
|
|
|
|
gem 'activemodel', :path => "#{rails}/activemodel"
|
|
|
|
gem 'activerecord', :path => "#{rails}/activerecord"
|
|
|
|
gem 'actionpack', :path => "#{rails}/activerecord"
|
|
|
|
when /^v/ # A tagged version
|
|
|
|
git 'git://github.com/rails/rails.git', :tag => rails do
|
|
|
|
gem 'activesupport'
|
|
|
|
gem 'activemodel'
|
|
|
|
gem 'activerecord'
|
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2011-05-30 11:14:30 -04:00
|
|
|
else
|
2011-07-17 19:04:00 -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-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
|