Gemfile 660 B

12345678910111213141516171819202122232425262728293031
  1. source "http://rubygems.org"
  2. gemspec
  3. gem 'rake'
  4. rails = ENV['RAILS'] || 'master'
  5. arel = ENV['AREL'] || 'master'
  6. arel_opts = case arel
  7. when /\// # A path
  8. {:path => arel}
  9. when /^v/ # A tagged version
  10. {:git => 'git://github.com/rails/arel.git', :tag => arel}
  11. else
  12. {:git => 'git://github.com/rails/arel.git', :branch => arel}
  13. end
  14. gem 'arel', arel_opts
  15. case rails
  16. when /\// # A path
  17. gem 'activerecord', :path => "#{rails}/activerecord"
  18. when /^v/ # A tagged version
  19. git 'git://github.com/rails/rails.git', :tag => rails do
  20. gem 'activerecord'
  21. end
  22. else
  23. git 'git://github.com/rails/rails.git', :branch => rails do
  24. gem 'activerecord'
  25. end
  26. end