Skip to content

Commit

Permalink
(fixup) Run bundle check after updating the lockfile
Browse files Browse the repository at this point in the history
Relying on the cached value causes problems when not running from
a package install, as the `bundle lock --update` seems to pull in
updated dependencies of the named gems that aren't installed locally.
  • Loading branch information
rodjek committed Apr 18, 2018
1 parent e13c75b commit 284c693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pdk/util/bundler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def self.ensure_bundle!(gem_overrides = nil)
# If there were missing dependencies when we checked above, let `bundle install`
# go out and get them. For packaged installs, this should only be true if the user
# has added custom gems that we don't vendor.
unless all_deps_available
unless bundle.installed?
bundle.install!(gem_overrides)
end

Expand Down

0 comments on commit 284c693

Please sign in to comment.