Sinatra and Markaby: "Template Engine Not Found"

Posted by marienbad on Stack Overflow See other posts from Stack Overflow or by marienbad
Published on 2010-03-27T17:38:42Z Indexed on 2010/03/27 17:43 UTC
Read the original article Hit count: 360

Filed under:
|

Using the standard gem for using Markaby with Sinatra, listed at http://www.sinatrarb.com/extensions-wild.html

sudo gem install markaby

Password:

Successfully installed builder-2.1.2

Successfully installed markaby-0.5

2 gems installed

sudo gem install sbfaulkner-sinatra-markaby -s http://gems.github.com

Password:

Successfully installed sbfaulkner-sinatra-markaby-0.9.2.2

1 gem installed

require 'rubygems'
require 'sinatra'
require 'sinatra/markaby'

get '/' do
  markaby :template
end

RuntimeError at /

Template engine not found: mab

© Stack Overflow or respective owner

Related posts about ruby

Related posts about sinatra