lib/git-up.rb in git-up-0.5.0 vs lib/git-up.rb in git-up-0.5.1
- old
+ new
@@ -143,9 +143,10 @@
return unless use_bundler?
begin
require 'bundler'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('Gemfile')
+ Gem.loaded_specs.clear
Bundler.setup
rescue Bundler::GemNotFound, Bundler::GitError
puts
print 'Gems are missing. '.yellow