Open andoriyu opened 13 years ago
I did everything as in README. But when i try to load my app, i get this:
NoMethodError at / undefined method `debug' for nil:NilClass file: barista.rb location: debug line: 198
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0] sinatra (1.2.3) barista (1.0.0)
i wish their documentation were better on this -- i'm stumped as well
set :haml, :format => :html5
class Application < Sinatra::Base register Barista::Integration::Sinatra end
get "/" do haml :index end
I did everything as in README. But when i try to load my app, i get this:
NoMethodError at / undefined method `debug' for nil:NilClass file: barista.rb location: debug line: 198
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0] sinatra (1.2.3) barista (1.0.0)