-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
When I try to run the example I get a few errors. First it fails asking for Rack::Test So I include that so then I start getting this:
myapp.rb:6:in `
': uninitialized constant MyApp (NameError)Guessing there's a trick to getting the class MyApp::App < Sinatra::Base style of things to work I've not yet encountered?
My current app uses the standard MyApp < Sinatra::Base style, no ::App. If I try to use sinatra_static with my current app in that config it complains that it can't call app.each_route when build! is called.
Some pointers would be hugely appreciated!
Regards, Stefan
Metadata
Metadata
Assignees
Labels
No labels