lib/guard/rails/runner.rb in guard-rails-0.7.0 vs lib/guard/rails/runner.rb in guard-rails-0.7.1
- old
+ new
@@ -164,10 +164,10 @@
!(count == MAX_WAIT_COUNT)
end
def kill_process(signal, pid)
begin
- Process.kill(signal, pid)
+ ::Process.kill(signal, pid)
true
rescue Errno::EPERM
UI.info "[Guard::Rails::Error] Don't have permission to KILL!"
false
rescue Errno::EINVAL, ArgumentError, Errno::ESRCH, RangeError