Changeset [6a0f952d349dc04a33abab85c737c3ac3fa9db76] 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...

Committed by James Adam

  • M lib/vanilla/console.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A sort of meta-wiki thing