method
spawn
v1.2.6 -
Show latest stable
- Class:
MongrelSpawner
spawn(port)public
No documentation available.
# File railties/lib/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