lib/cocaine/command_line/runners/posix_runner.rb in cocaine-0.5.6 vs lib/cocaine/command_line/runners/posix_runner.rb in cocaine-0.5.7
- old
+ new
@@ -42,10 +42,10 @@
end
def self.posix_spawn_gem_available?
require 'posix/spawn'
true
- rescue
+ rescue LoadError
false
end
private_class_method :posix_spawn_gem_available?
end