Monday, June 1, 2009

uninitialized constant #::Warbler from

I got an error "uninitialized constant #::Warbler from" in a Sinatra app because for some stupid reason I had accidentally copied the original Warbler config from warble.rb into my rackup file (config.ru). Lesson learned was: don't put the "Warbler::Config.new do |config| ..." into your config.ru. ;)

No comments: