/usr/bin/env: ruby1.8: No such file or directory

Posted by sandstrom on Server Fault See other posts from Server Fault or by sandstrom
Published on 2011-06-28T17:56:48Z Indexed on 2011/06/29 0:24 UTC
Read the original article Hit count: 242

Filed under:
|

Problem

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.

Debug Output

$ which ruby1.8
/usr/bin/ruby1.8

This problem is similar to:

http://stackoverflow.com/questions/6126165/usr-bin-env-ruby-1-8-no-such-file-or

© Server Fault or respective owner

Related posts about ubuntu

Related posts about ruby