method

validate

rails latest stable - Class: Rails::MongrelServer::Stop

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

validate()
public

No documentation available.

# File railties/lib/rails/mongrel_server/commands.rb, line 292
      def validate
        @cwd = File.expand_path(@cwd)
        valid_dir? @cwd, "Invalid path to change to during daemon mode: #@cwd"

        Dir.chdir @cwd

        valid_exists? @pid_file, "PID file #@pid_file does not exist.  Not running?"
        return @valid
      end