I’ve been messing with Rack a lot lately, and am wondering how you could startup a Rack server by running a file (e.g. app.rb) without the use of config.ru. Is this possible, or is it a more complex method?
I’ve been messing with Rack a lot lately, and am wondering how you could
Share
You can use the built-in WEBrick server instead. So where you might normally have something like this:
You can instead consolidate it and just run
ruby app.rbdirectly: