Trying to setup CI Joe (https://github.com/defunkt/cijoe) and I get the following error:
/usr/bin/env: ruby1.8: No such file or directory
What I'm doing
CI Joe is run as www-data, and the command I'm running is
RAILS_ENV=test bundle exec rake -s test
When I log in as www-data (sudo su www-data) and execute the same command it works. So I'm trying to figure out what may be wrong.
$ which ruby1.8 /usr/bin/ruby1.8
This problem is similar to: