def find_sauce_connect
      paths = [@sc4_executable, File.join("#{@sc4_executable}", "bin", "sc")]

      sc_path = paths.find do |path|
        path_is_connect_executable? path
      end

      if sc_path.nil?
        raise TunnelNotPossibleException, "No executable found at #{sc_path}, or it can't be executed by #{Process.euid}"
      end

      return File.absolute_path sc_path
    end
def find_sauce_connect
      paths = [@sc4_executable, File.join("#{@sc4_executable}", "bin", "sc")]

      sc_path = paths.find do |path|
        path_is_connect_executable? path
      end

      if sc_path.nil?
        raise TunnelNotPossibleException, "No executable found at #{sc_path}, or it can't be executed by #{Process.euid}"
      end

      return File.absolute_path sc_path
    end
Check whether the path, or it's bin/sc descendant, exists and is executable