summaryrefslogtreecommitdiff
path: root/lib/bundler/source.rb
diff options
context:
space:
mode:
authorTerence Lee <hone02@gmail.com>2010-11-09 00:40:02 -0600
committerTerence Lee <hone02@gmail.com>2010-11-12 10:52:26 -0600
commit50b2c81d8194d6cd6e3da816db288f12dd2fe0d6 (patch)
tree53aebdbe3cc2e9868676d8a369f452b58b7838bb /lib/bundler/source.rb
parent225224173dd5cf436285f01e6f8a674d39386f43 (diff)
downloadbundler-50b2c81d8194d6cd6e3da816db288f12dd2fe0d6.tar.gz
Gemcutter Endpoint API handle case where Marshal blob is bad
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r--lib/bundler/source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index 68b84f52a3..f652b17ec0 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -240,7 +240,7 @@ module Bundler
returned_gems = spec_list.map {|spec| spec.first }.uniq
fetch_remote_specs(deps_list, uri, full_dependency_list + returned_gems, spec_list + last_spec_list, &blk)
- rescue OpenURI::HTTPError
+ rescue OpenURI::HTTPError, TypeError
fetch_all_remote_specs(&blk)
end