Skip to content

Instantly share code, notes, and snippets.

@gabebw
Last active August 29, 2015 13:56
Show Gist options
  • Save gabebw/9230428 to your computer and use it in GitHub Desktop.
Save gabebw/9230428 to your computer and use it in GitHub Desktop.
Workaround for CoreText errors with PhantomJS on OSX 10.9
#!/bin/bash
/usr/local/bin/phantomjs-real $@ 2> >(grep -v CoreText 1>&2)
  • mv /usr/local/bin/phantomjs /usr/local/bin/phantomjs-real
  • Paste the attached script into /usr/local/bin/phantomjs
  • Voila
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment