From 8f98da4767081e9f494dc12d97b7a05e5cd0b80e Mon Sep 17 00:00:00 2001 From: Olivier Melcher Date: Wed, 20 Jul 2011 15:27:20 -0700 Subject: [PATCH] require yaml in runner.rb fixes bad YAML module look-up that would give the following error: [jasmine-headless-webkit] uninitialized constant Jasmine::Headless::Runner::YAML (NameError) /gems/jasmine-headless-webkit-0.6.0/lib/jasmine/headless/runner.rb:47:in `jasmine_config' --- lib/jasmine/headless/runner.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/jasmine/headless/runner.rb b/lib/jasmine/headless/runner.rb index 4be91c9..e4757d7 100644 --- a/lib/jasmine/headless/runner.rb +++ b/lib/jasmine/headless/runner.rb @@ -9,6 +9,8 @@ require 'rainbow' require 'jasmine/files_list' require 'jasmine/template_writer' +require 'yaml' + module Jasmine module Headless class Runner