stylus is not available yet in latest tilt

This commit is contained in:
Konstantin Haase 2013-02-26 20:29:01 +11:00
parent 1d48a759b6
commit 80b79c89eb
2 changed files with 3 additions and 2 deletions

View File

@ -832,7 +832,8 @@ template than for the layout by passing the `:layout_engine` option.
</a> and a
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
way to execute javascript
</a>
</a>, it also requires and as of yet unreleased version of
<a href="https://github.com/rtomayko/tilt">Tilt</a>
</td>
</tr>
<tr>

View File

@ -4,7 +4,7 @@ begin
require 'stylus'
begin
Stylus.compile '1'
Tilt[:styl].new { "1" }.render
rescue RuntimeError
raise LoadError, 'unable to find Stylus compiler'
end