Skip to content

Instantly share code, notes, and snippets.

@blambeau
Created January 13, 2012 13:54
Show Gist options
  • Save blambeau/1606332 to your computer and use it in GitHub Desktop.
Save blambeau/1606332 to your computer and use it in GitHub Desktop.
Temple uninitialized constant Temple::Mixins::CompiledDispatcher
source :rubygems
gem "temple"
require 'temple'
# Uncomment the following line to get it work
#require 'temple/mixins/dispatcher'
class MyParser
def call(input); [:static, "Hello world"]; end
end
class MyEngine < Temple::Engine
use MyParser
generator :ArrayBuffer
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment