summaryrefslogtreecommitdiff
path: root/lib/bundler/installer.rb
diff options
context:
space:
mode:
authorutilum <oz@utilum.com>2018-02-25 22:55:41 +0100
committerSamuel Giddins <segiddins@segiddins.me>2018-03-17 10:53:34 -0700
commit1e3c630d3f968c9b4c9b8996b940be4694d58544 (patch)
tree96a5add08473429feb61ba46441aa1dc88fcba58 /lib/bundler/installer.rb
parent7f4c1a81b7b92e234fce0e3592d27c396d2451ac (diff)
downloadbundler-1e3c630d3f968c9b4c9b8996b940be4694d58544.tar.gz
Fix some rescue calls that do not specifiy error type.
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r--lib/bundler/installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index 1b9fef1e39..58241367f2 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -220,7 +220,7 @@ module Bundler
def processor_count
require "etc"
Etc.nprocessors
- rescue
+ rescue Runtimeerror
1
end