diff --git a/bin/jasmine-headless-webkit b/bin/jasmine-headless-webkit index 8949fe2..ce64ffe 100755 --- a/bin/jasmine-headless-webkit +++ b/bin/jasmine-headless-webkit @@ -86,7 +86,7 @@ files = files.flatten.compact.collect { |file| begin %{} rescue CoffeeScript::CompilationError => e - puts "[%s] %s: %s" % [ 'coffeescript'.color(:red), file.color(:yellow), e.message.color(:white) ] + puts "[%s] %s: %s" % [ 'coffeescript'.color(:red), file.color(:yellow), e.message.to_s.color(:white) ] exit 1 ensure fh.close