Closed tbuehlmann closed 10 years ago
I think it's better to not support this and create your own boot script instead:
require "./app"
Rack::Handler.get("webrick").run(Cuba, Port: 9292)
That's exactly what I mean. Why not have a handy method for starting and stopping?
This is not a common scenario. :-1: to support it by default when a little script can be used.
Having a lot of these uncommon scenarios lately. :\ But if it's just me, nevermind. :)
I came to a situation where I needed to start a Cuba application by myself not using
rackup
or a config.ru file at all. Would be nice if we had an option to do so.