Skip to content

Commit 4758fb5

Browse files
authored
Merge pull request #9463 from Shopify/ec-lock
Fix the bundler version not being updated in dev/test lockfile
2 parents 94f9267 + a5c7314 commit 4758fb5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ end
2929

3030
namespace :version do
3131
desc "Update the locked bundler version in dev environment"
32-
task update_locked_bundler: [:"bundler:install"] do |_, _args|
32+
task :update_locked_bundler do |_, _args|
3333
stdout = Spec::Rubygems.dev_bundle "--version"
3434
version = stdout.split(" ").last
3535

3636
Dir.glob("{tool/bundler/*_gems.rb,spec/realworld/fixtures/*/Gemfile}").each do |file|
37-
Spec::Rubygems.dev_bundle("lock", "--bundler", version, gemfile: file)
37+
Spec::Rubygems.dev_bundle("lock", "--update", "--bundler", version, gemfile: file)
3838
end
3939
end
4040

0 commit comments

Comments
 (0)