Skip to content

Runner fails silently if jasmine-webkit-specrunner wasn't compiled #149

Open
redbeard opened this Issue May 22, 2012 · 2 comments

2 participants

@redbeard

This would be the case when native extensions aren't installed with the gem, say if the gem was brought in initially using bundler.

Problem tracked to:
https://github.com/johnbintz/jasmine-headless-webkit/blob/master/lib/jasmine/headless/runner.rb#L198

Which reads:

runner = lambda { system jasmine_command(run_targets) }

Should be something like:

runner = lambda { raise "Error #{$?} while attempting to run '#{jasmine_command(run_targets)}'." unless system jasmine_command(run_targets) }

Cheers,
Tal

@johnbintz
Owner

I'll take that as a pull request, if you want to put that together. :)

@redbeard

Pull request submitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.