Closed agmcleod closed 10 years ago
After i install the gem through bundler, setup my specs and so forth. I run the task:
bundle exec rake spec:javascript
It installs phantomjs to the home directory (using vagrant, a CentOS vm).
However, if i destroy the VM, bring up a new one, having phantom js installed. I check the location:
[vagrant@app vagrant]$ which phantomjs /usr/local/bin/phantomjs
And then the path:
[vagrant@app vagrant]$ echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/vagrant/bin [vagrant@app vagrant]$
I can run the tests, however I'd prefer to not have two installs of phantomjs, as it's unnecessary, and I prefer to keep things clean on our CI server. Thanks
Closing. phantomjs gem is looking for 1.9.7, our system one is 1.9.6.
After i install the gem through bundler, setup my specs and so forth. I run the task:
It installs phantomjs to the home directory (using vagrant, a CentOS vm).
However, if i destroy the VM, bring up a new one, having phantom js installed. I check the location:
And then the path:
I can run the tests, however I'd prefer to not have two installs of phantomjs, as it's unnecessary, and I prefer to keep things clean on our CI server. Thanks