Skip to content
Browse files

Bundler check should also catch missing git repos.

Closes #7.
  • Loading branch information...
1 parent b6d4706 commit cfe5c6bfa5a8ae099f9a73b807aed9e90ea70a76 @elliotcm elliotcm committed with Nov 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/git-up.rb
View
2 lib/git-up.rb
@@ -141,7 +141,7 @@ def check_bundler
require 'bundler'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('Gemfile')
Bundler.setup
- rescue Bundler::GemNotFound
+ rescue Bundler::GemNotFound, Bundler::GitError
puts 'Gems are missing. You should `bundle install`.'.yellow
end
end

0 comments on commit cfe5c6b

Please sign in to comment.
Something went wrong with that request. Please try again.