From 8ad882aa2d5193f88d3f522d4c264ce4aef53c49 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Thu, 17 Apr 2008 17:24:50 -0700 Subject: [PATCH] Make haml --check work. It wasn't properly requiring the stringio library. --- lib/haml/exec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/haml/exec.rb b/lib/haml/exec.rb index 8d3a42aa..2ab8f1ff 100644 --- a/lib/haml/exec.rb +++ b/lib/haml/exec.rb @@ -145,6 +145,7 @@ END end opts.on('-c', '--check', "Just check syntax, don't evaluate.") do + require 'stringio' @options[:check_syntax] = true @options[:output] = StringIO.new end