2013-12-07 00:51:55 +00:00
|
|
|
source 'https://rubygems.org'
|
2011-03-31 00:31:39 +00:00
|
|
|
gemspec
|
|
|
|
|
2011-07-17 23:04:00 +00:00
|
|
|
gem 'rake'
|
|
|
|
|
2014-04-22 17:24:48 +00:00
|
|
|
rails = ENV['RAILS'] || '4-1-stable'
|
2011-07-17 23:04:00 +00:00
|
|
|
|
2014-04-22 17:24:48 +00:00
|
|
|
gem 'polyamorous', '~> 1.0.0'
|
2011-07-17 23:04:00 +00:00
|
|
|
|
|
|
|
case rails
|
|
|
|
when /\// # A path
|
2013-07-04 14:21:06 +00:00
|
|
|
gem 'activesupport', path: "#{rails}/activesupport"
|
|
|
|
gem 'activemodel', path: "#{rails}/activemodel"
|
|
|
|
gem 'activerecord', path: "#{rails}/activerecord"
|
|
|
|
gem 'actionpack', path: "#{rails}/activerecord"
|
2011-07-17 23:04:00 +00:00
|
|
|
when /^v/ # A tagged version
|
2014-05-01 13:55:39 +00:00
|
|
|
git 'git://github.com/rails/rails.git', :tag => rails do
|
2011-07-17 23:04:00 +00:00
|
|
|
gem 'activesupport'
|
|
|
|
gem 'activemodel'
|
|
|
|
gem 'activerecord'
|
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2011-05-30 15:14:30 +00:00
|
|
|
else
|
2014-05-01 13:55:39 +00:00
|
|
|
git 'git://github.com/rails/rails.git', :branch => rails do
|
2011-05-30 15:14:30 +00:00
|
|
|
gem 'activesupport'
|
2011-07-17 23:04:00 +00:00
|
|
|
gem 'activemodel'
|
2011-05-30 15:14:30 +00:00
|
|
|
gem 'activerecord'
|
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2013-12-04 15:09:33 +00:00
|
|
|
if rails == '3-0-stable'
|
|
|
|
gem 'mysql2', '< 0.3'
|
|
|
|
end
|
2012-01-19 14:06:10 +00:00
|
|
|
end
|