require 'pancake' require ::File.join(::File.expand_path(::File.dirname(__FILE__)), "..", "<%= stack_name %>") # get the application to run. The application in the Pancake.start block # is the master application. It will have all requests directed to it through the # pancake middleware # This should be a very minimal file, but should be used when any stand alone code needs to be included app = Pancake.start(:root => Pancake.get_root(__FILE__)){ <%= stack_name.camel_case %>.stackup(:master => true) } run app