I\'m running MacOS mavericks whith jruby and am trying to write a basic modular sinatra app. Here\'s what my config.ru looks like
jruby
modular sinatra
config.ru
When you use the modular style, the Sinatra::Application app still exists, but usually nothing happens to it. In your config.ru you are running this (empty) app instead of your own. Simply change run Sinatra::Application to
Sinatra::Application
run Sinatra::Application
run App