diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-06-14 10:20:25 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-06-14 10:22:37 -0500 |
commit | 922ef03904f014276af66c488cee91d245905432 (patch) | |
tree | 3f30029577458cfa450eb2464c3352e67b7fe533 /lib/bundler/cli | |
parent | 65aca787cc329c8c655eaccedf0ea50fa5a47153 (diff) | |
download | bundler-922ef03904f014276af66c488cee91d245905432.tar.gz |
[Pristine] Raise when trying to pristine a missing gemseg-pristine-specific-gems
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r-- | lib/bundler/cli/pristine.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli/pristine.rb b/lib/bundler/cli/pristine.rb index ccf970eae0..cfd90da34b 100644 --- a/lib/bundler/cli/pristine.rb +++ b/lib/bundler/cli/pristine.rb @@ -8,6 +8,8 @@ module Bundler end def run + CLI::Common.ensure_all_gems_in_lockfile!(@gems) + Bundler.load.specs.each do |spec| next if spec.name == "bundler" # Source::Rubygems doesn't install bundler next if !@gems.empty? && !@gems.include?(spec.name) |