class Guard::RSpec::RSpecProcess

def _run

def _run
  _with_desired_bundler_env do
    exit_code = _really_run
    msg = "Guard::RSpec: RSpec command %s exited with: %s"
    Compat::UI.debug(format(msg, command, exit_code.inspect))
    unless [0, Command::FAILURE_EXIT_CODE].include?(exit_code)
      msg = "Failed: %s (exit code: %s)"
      raise Failure, format(msg, command.inspect, exit_code.inspect)
    end
    exit_code
  end
end