static public Method

MongrelSpawner.spawn(port)

There's no documentation for this item.

Source Code

# File commands/process/spawner.rb, line 58
def self.spawn(port)
  cmd =
    "mongrel_rails start -d " +
    "-a #{OPTIONS[:address]} " +
    "-p #{port} " +
    "-P #{OPTIONS[:pids]}/#{OPTIONS[:process]}.#{port}.pid " +
    "-e #{OPTIONS[:environment]} " +
    "-c #{OPTIONS[:rails_root]} " +
    "-l #{OPTIONS[:rails_root]}/log/mongrel.log"

  system(cmd)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.