You need to update circle.yml:
machine:
node: # add node dependency
version:
7.4
environment:| module Service | |
| class Base | |
| attr_reader :result | |
| def self.call(*args, **keyword_args) | |
| new(*args, **keyword_args).tap do |service| | |
| service.instance_variable_set( | |
| "@result", | |
| service.call | |
| ) |
Install phantomjs (http://phantomjs.org)
brew has a recipe for phantomjs, but it has moved on to version 2.0.0, and we still require 1.8.2 (at newest), and we can't get that old and dirty with brew anymore.
On a Mac:
mkdir -p ~/root
wget https://phantomjs.googlecode.com/files/phantomjs-1.8.2-macosx.zip -O ~/root/phantomjs-1.8.2-macosx.zip