instance method validate

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3

Signature

validate()

No documentation comment.

Source
# 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

Defined in railties/lib/rails/mongrel_server/commands.rb line 292 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::MongrelServer::Stop

Type at least 2 characters to search.

↑↓ navigate · open · esc close