lib/quebert/support/pid_file.rb
def remove_stale
        if exists? && running?
          raise ProcessRunning, "#{path} already exists, seems like it's already running (process ID: #{pid}). " +
                              "Stop the process or delete #{path}."
        else
          remove
        end
      end
# If PID file is stale, remove it.
If PID file is stale, remove it.
If PID file is stale remove it .
def remove_stale
        if exists? && running?
          raise ProcessRunning, "#{path} already exists, seems like it's already running (process ID: #{pid}). " +
                              "Stop the process or delete #{path}."
        else
          remove
        end
      end
def remove_stale if exists? && running? raise ProcessRunning , "#{path} already exists, seems like it's already running (process ID: #{pid}). " + "Stop the process or delete #{path}." else remove end end
If PID file is stale, remove it.
If PID file is stale remove it .