Visit PhantomJS site, go to download page and copy link address for Linux, in our case this is https://phantomjs.googlecode.com...
Add in Gemfile: group :development, :test do gem 'rspec-rails' gem 'spork-rails' end group :test do gem 'capybara'
Best results in other decks
This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...
PhantomJS has no binary builds for Linux, and building it yourself is painful. However, you can install it through npm...