Skip to content

Commit

Permalink
[merb-gen] Run a full application from rackup
Browse files Browse the repository at this point in the history
The bootloader generates a Rack application with all necessary components,
so we use that instead of raw merb middleware.
  • Loading branch information
ngollan committed Apr 26, 2011
1 parent cbf004e commit 17b74ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/generators/templates/application/merb_stack/config.ru
Expand Up @@ -8,6 +8,5 @@ Merb::Config.setup(
Merb.environment = Merb::Config[:environment]
Merb.root = Merb::Config[:merb_root]

Merb::BootLoader.run

run Merb::Rack::Application.new
Merb::BootLoader.run
run Merb::Config[:app]

0 comments on commit 17b74ae

Please sign in to comment.