Fetching contributors…
Cannot retrieve contributors at this time
44 lines (35 sloc) 948 Bytes
source "http://rubygems.org"
gemspec
gem 'rake'
rails = ENV['RAILS'] || 'master'
arel = ENV['AREL'] || 'master'
if rails == 'master'
gem 'i18n', github: 'svenfuchs/i18n', branch: 'master'
end
arel_opts = case arel
when /\// # A path
{:path => arel}
when /^v/ # A tagged version
{:git => 'git://github.com/rails/arel.git', :tag => arel}
else
{:git => 'git://github.com/rails/arel.git', :branch => arel}
end
gem 'arel', arel_opts
case rails
when /\// # A path
gem 'activesupport', :path => "#{rails}/activesupport"
gem 'activemodel', :path => "#{rails}/activemodel"
gem 'activerecord', :path => "#{rails}/activerecord"
when /^v/ # A tagged version
git 'git://github.com/rails/rails.git', :tag => rails do
gem 'activesupport'
gem 'activemodel'
gem 'activerecord'
end
else
git 'git://github.com/rails/rails.git', :branch => rails do
gem 'activesupport'
gem 'activemodel'
gem 'activerecord'
end
end