This will probably make me look lame but still -- I can't find any formal description for either a typical rack application structure (folders/files, like public, config.ru), or the config.ru
file contents.
In the Java world there's a clear definition of a web application and the parts it comprised of (WEB-INF, META-INF web.xml).
Is there a specification of a Rack web application at all? Or is it something vague like Ruby itself.
I expected to find that info somewhere on the http://rack.rubyforge.org/ site but I couldn't. Please point me in the right direction.
Although I marked this question as answered it is worth mentioning that the question itself in not very legitimate. The app structure is driven by the actual webserver/plugin combination in use, like Apache/Passenger, and not Rack.
config.ru
contents are evaluated in the context ofRack::Builder
. – Braggart