Skip to content

Commit 6d02b75

Browse files
committed
Require sprockets-rails >= 2
Fixes rails@4d157ea Without any specification about the version of sprockets-rails, running a `bundle install` on a brand new app might result in sprockets 0.0.1 being installed. However, the minimum requirement is sprockets-rails 2 (see https://github.com/rails/rails/pull/17752/files)
1 parent f1a3d48 commit 6d02b75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ PATH
139139
activesupport (= 5.0.0.alpha)
140140
bundler (>= 1.3.0, < 2.0)
141141
railties (= 5.0.0.alpha)
142-
sprockets-rails
142+
sprockets-rails (>= 2.0.0)
143143
railties (5.0.0.alpha)
144144
actionpack (= 5.0.0.alpha)
145145
activesupport (= 5.0.0.alpha)

rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ Gem::Specification.new do |s|
2828
s.add_dependency 'railties', version
2929

3030
s.add_dependency 'bundler', '>= 1.3.0', '< 2.0'
31-
s.add_dependency 'sprockets-rails'
31+
s.add_dependency 'sprockets-rails', '>= 2.0.0'
3232
end

0 commit comments

Comments
 (0)