bump tilt requirement, unregister plaintext template. fixes #824

This commit is contained in:
Thomas Reynolds 2013-03-18 14:11:48 -07:00
parent 546c1fdafc
commit f2f3ad21b6
3 changed files with 5 additions and 3 deletions

View file

@ -21,12 +21,12 @@ gem "less", "~> 2.2", :require => false
gem "stylus", :require => false
platforms :ruby do
gem "therubyracer", "0.10.2"
gem "therubyracer"#, "0.10.2"
gem "redcarpet"
end
platforms :jruby do
gem "therubyrhino", "1.73.5"
gem "therubyrhino"
end
# Middleman itself

View file

@ -22,6 +22,8 @@ module Middleman
app.define_hook :before_render
app.define_hook :after_render
::Tilt.mappings.delete('html') # WTF, Tilt?
# Activate custom renderers
require "middleman-core/renderers/erb"
app.register Middleman::Renderers::ERb

View file

@ -20,7 +20,7 @@ Gem::Specification.new do |s|
# Core
s.add_dependency("bundler", ["~> 1.1"])
s.add_dependency("rack", ["~> 1.4.1"])
s.add_dependency("tilt", ["~> 1.3.1"])
s.add_dependency("tilt", ["~> 1.3.6"])
# Builder
s.add_dependency("rack-test", ["~> 0.6.1"])