Skip to content

Commit 66f4129

Browse files
committed
force rails gems to be the same version as rails for maintenance branches
1 parent e8054a1 commit 66f4129

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Gemfile-rails-dependencies

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ when /master/
1414
gem 'sprockets', :git => 'git://github.com/rails/sprockets.git', :branch => 'master'
1515
gem 'sprockets-rails', :git => 'git://github.com/rails/sprockets-rails.git', :branch => 'master'
1616
when /stable$/
17-
gem "rails", :git => "git://github.com/rails/rails.git", :branch => version
17+
%w[rails railties actionmailer actionpack actionview activejob activerecord activesupport].each do |rails_gem|
18+
gem rails_gem, :git => "git://github.com/rails/rails.git", :branch => version
19+
end
1820
when nil, false, ""
1921
if RUBY_VERSION < '1.9.3'
2022
# Rails 4+ requires 1.9.3+, so on earlier versions default to the last 3.x release.

0 commit comments

Comments
 (0)