Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enabling overwriting phantomjs binary package_url through an env variable #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

enabling overwriting phantomjs binary package_url through an env variable #87

wants to merge 1 commit into from

Conversation

bzanchet
Copy link

@bzanchet bzanchet commented Jul 6, 2016

Hey there,

sometimes I get an error on my CI box because bitbucket blocks frequent downloads of the file. This seems to be a common problema (ariya/phantomjs#13951) but it wasn't yet addressed on this gem.

I've added some code to enable overwriting the default package download url with an env variable, just like the people at Medium do - https://github.com/Medium/phantomjs#deciding-where-to-get-phantomjs

What do you think?

(I thought about adding another method that either uses the env variable or delegates to package_url but then it would be a deeper change. Anyway.)

@werkshy
Copy link

werkshy commented Apr 3, 2017

FWIW I have had a similar PR open for a year (#78).

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

Successfully merging this pull request may close these issues.

2 participants