-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Conversation
Failure looks unrelated. It's failing to find the stable version of Casper to test when installing
Doing it outside of
|
depends_on 'phantomjs' | ||
# https://github.com/Homebrew/homebrew/pull/38632 | ||
resource "phantomjs" do | ||
url "https://phantomjs.googlecode.com/files/phantomjs-1.8.2-macosx.zip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this enforce using PhantomJS 1.8.2 only? Could we rather set 1.9.8 which is the latest 1.x version CasperJS actually supports, with many improvements over 1.8.2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. CasperJS disagrees with you on supporting 1.9.8. Install 1.9.8, run CasperJS, and:
CasperJS 1.0.x does not support PhantomJS version >= 1.9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you wanted to play around after installation though, you could just remove the export PATH
line from bin/casperjs
.
It's just the |
Hilariously, it looks like the test breakage is down to case-sensitivity. The stable version outputs its PhantomJS version as |
Awesome! |
Thanks @DomT4! |
Edit: casperjs works with phantomjs 1.9.8Should we change the download link to https://github.com/ariya/phantomjs/archive/1.9.8.zip? this is what I tested$ brew install casperjs --develop $ brew install homebrew/versions/phantomjs198 new casperjs$ casperjs |
@DomT4 👍 |
Closes #38632