lib/bundler/source.rb in bundler-1.1.0 vs lib/bundler/source.rb in bundler-1.1.1

- old
+ new

@@ -470,10 +470,10 @@ Gem.send(hooks_meth).each do |hook| result = hook.call(installer) if result == false location = " at #{$1}" if hook.inspect =~ /@(.*:\d+)/ message = "#{type} hook#{location} failed for #{installer.spec.full_name}" - raise Gem::InstallError, message + raise InstallHookError, message end end end end