Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

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

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

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

redbeard opened this issue May 22, 2012 · 2 comments

Comments

@redbeard
Copy link

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
Copy link
Owner

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

@redbeard
Copy link
Author

Pull request submitted

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants