Private pub gem needs additional Faye server to service message queues. It is started in parallel to rails server with command: rackup private_pub.ru -s thin -E production
This server is also needed in order some specs to pass. So I include its startup command in .travis.yml:
language: ruby
services:
- postgresql
- rack
before_script:
- rackup private_pub.ru -s thin -E production
- cp config/database.yml.travis config/database.yml
- psql -c 'create database travis_ci_test;' -U postgres
but during build this command raises error:
0.00s$ rackup private_pub.ru -s thin -E production
/home/travis/build.sh: line 45: rackup: command not found
The command "rackup private_pub.ru -s thin -E production" failed and exited with 127 during .
What am I doing wrong?