testdouble / jasmine-rails

A Jasmine runner for rails projects that's got you covered in both the terminal and the browser
http://rubygems.org/gems/jasmine-rails
MIT License
378 stars 154 forks source link

Phantomjs 2.1.1 segfaults with jasmine-rails #184

Closed shamus closed 8 years ago

shamus commented 8 years ago

I tried to set up a new rails project today with jasmine-rails and phantomjs 2.1.1 and found that phantomjs segfaults with the out of the box set up. It appears that lib/assets/javascripts/jasmine-runner.js registers a page.onInitialized callback that is being executed multiple times which I believe results in multiple calls to phantom.exit.

I don't really know why that would be happening. I've submitted #183 which alleviates the problem but it feels more like treating a symptom rather than the root problem.

searls commented 8 years ago

Landed in 0.12.3