Module: Rackdapter::MerbBackend
- Defined in:
- lib/rackdapter/spawner.rb
Class Method Summary collapse
Class Method Details
.spawn(app, port) ⇒ Object
88 89 90 91 92 |
# File 'lib/rackdapter/spawner.rb', line 88 def self.spawn(app, port) Dir.chdir(app.path) = Rackdapter.(app, port, "e" => app.environment, "p" => port, "n" => app.name, "m" => File.(app.path)) exec app.ruby, "/usr/bin/merb", * end |