diff --git a/lib/jasmine/headless/runner.rb b/lib/jasmine/headless/runner.rb index 3ce7247..4874061 100644 --- a/lib/jasmine/headless/runner.rb +++ b/lib/jasmine/headless/runner.rb @@ -195,7 +195,9 @@ module Jasmine end end - runner = lambda { system jasmine_command(run_targets) } + runner = lambda { + raise "Error #{$?} while attempting to run '#{jasmine_command(run_targets)}', probably because jasmine-webkit-specrunner hasn't been compiled." if system(jasmine_command(run_targets)) == 127 + } if options[:use_server] wrap_in_server(run_targets, &runner)