Skip to content

Commit

Permalink
Use Arel master when using ActiveRecord master
Browse files Browse the repository at this point in the history
(Transplant from with_model/with_model@cab41ed225a5d1f1fb65e51edc5673f2583285bb)
  • Loading branch information
amarshall committed Dec 29, 2014
1 parent c12925f commit f242a23
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Gemfile
Expand Up @@ -5,8 +5,14 @@ gemspec
gem 'pg', :platform => :ruby
gem "activerecord-jdbcpostgresql-adapter", ">= 1.3.1", :platform => :jruby

gem "activerecord", ENV["ACTIVE_RECORD_VERSION"] if ENV["ACTIVE_RECORD_VERSION"]
gem "activerecord", :github => "rails", :branch => ENV["ACTIVE_RECORD_BRANCH"] if ENV["ACTIVE_RECORD_BRANCH"]
if ENV['ACTIVE_RECORD_BRANCH']
gem 'activerecord', :git => 'https://github.com/rails/rails.git', :branch => ENV['ACTIVE_RECORD_BRANCH']
gem 'arel', :git => 'https://github.com/rails/arel.git' if ENV['ACTIVE_RECORD_BRANCH'] == 'master'
end

if ENV['ACTIVE_RECORD_VERSION']
gem 'activerecord', ENV['ACTIVE_RECORD_VERSION']
end

group :development do
gem 'guard-rspec', :require => false
Expand Down

0 comments on commit f242a23

Please sign in to comment.