summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 8688206285..0025dee720 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -561,7 +561,7 @@ EOF
def load_marshal(data)
Marshal.load(data)
- rescue StandardError => e
+ rescue TypeError => e
raise MarshalError, "#{e.class}: #{e.message}"
end