Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [6a0f952d349dc04a33abab85c737c3ac3fa9db76] by James Adam

Revision 6a0f952d349dc04a33abab85c737c3ac3fa9db76, committed by James Adam · April 28th, 2011 @ 10:48 PM

Get the console to load the app as configured in config.ru

I don't love extracting configuration into static files, and this trick allows us to use the config.ru file as-is, but return the initialized app. It won't work for more sophisticated setups (like, say, multiple Vanilla::App instances mounted at different points within the same config.ru), but that's good enough for now.
https://github.com/lazyatom/vanilla-rb/commit/6a0f952d349dc04a33aba...

1 changed file

  • M lib/vanilla/console.rb