lib/bundler/source/git.rb in bundler-1.3.5 vs lib/bundler/source/git.rb in bundler-1.3.6
- old
+ new
@@ -171,11 +171,12 @@
serialize_gemspecs_in(app_cache_path)
end
def load_spec_files
super
- rescue PathError, GitError
- raise GitError, "#{to_s} is not checked out. Please run `bundle install`"
+ rescue PathError => e
+ Bundler.ui.trace e
+ raise GitError, "#{to_s} is not yet checked out. Run `bundle install` first."
end
# This is the path which is going to contain a cache
# of the git repository. When using the same git repository
# across different projects, this cache will be shared.