diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2016-08-02 19:40:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-02 19:40:20 -0700 |
commit | fbf25ef2129f269f5eaf5d4e94b75f3ea057ebea (patch) | |
tree | 46b6d102a31967f9457b2a71226be8e6c0b00a9e | |
parent | 64fa6de7bf7cd839de6e0ee87f8411461daf0244 (diff) | |
parent | 008ab141fa55b30524e04ff9dbd1368a9165bef4 (diff) | |
download | chef-fbf25ef2129f269f5eaf5d4e94b75f3ea057ebea.tar.gz |
Merge pull request #5162 from coderanger/bundleupdate
Change recommended by @jkeiser to make single gem updates work correctly.
-rw-r--r-- | tasks/bundle.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/bundle.rb b/tasks/bundle.rb index 059b926f14..0176fe209e 100644 --- a/tasks/bundle.rb +++ b/tasks/bundle.rb @@ -30,9 +30,9 @@ namespace :bundle do puts "-------------------------------------------------------------------" puts "Updating Gemfile.lock ..." puts "-------------------------------------------------------------------" - bundle "install #{args}", delete_gemfile_lock: true + bundle "update #{args}" platforms.each do |platform| - bundle "lock", platform: platform + bundle "update #{args}", platform: platform end end end |