Не удалось найти фантомов
При попытке использовать phantomjs из ruby в Ubuntu возникает следующая ошибка:
Failure/Error: visit root_path
Cliver::Dependency::NotFound:
Could not find an executable ["phantomjs"] on your path.
# ./spec/features/search_spec.rb:17:in `block (2 levels) in <top (required)>'
# ./spec/support/vcr.rb:23:in `block (3 levels) in <top (required)>'
# ./spec/support/vcr.rb:23:in `block (2 levels) in <top (required)>'
phantomjs был построен локально и добавлен в PATH. Как заставить рубин найти фантомов?