diff --git a/lib/haml/exec.rb b/lib/haml/exec.rb index 5aaccfd3..af14efb1 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