barista icon indicating copy to clipboard operation
barista copied to clipboard

Barista + Sinatra

Open andoriyu opened this issue 13 years ago • 2 comments

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)

andoriyu avatar Apr 27 '11 07:04 andoriyu

i wish their documentation were better on this -- i'm stumped as well

tbbooher avatar Mar 03 '12 10:03 tbbooher

app.rb

set :haml, :format => :html5

class Application < Sinatra::Base register Barista::Integration::Sinatra end

get "/" do haml :index end

tbbooher avatar Mar 03 '12 10:03 tbbooher