summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2016-08-02 18:35:15 -0700
committerNoah Kantrowitz <noah@coderanger.net>2016-08-02 18:35:15 -0700
commit008ab141fa55b30524e04ff9dbd1368a9165bef4 (patch)
tree46b6d102a31967f9457b2a71226be8e6c0b00a9e
parent64fa6de7bf7cd839de6e0ee87f8411461daf0244 (diff)
downloadchef-008ab141fa55b30524e04ff9dbd1368a9165bef4.tar.gz
Change recommended by @jkeiser to make single gem updates work correctly.
-rw-r--r--tasks/bundle.rb4
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