Hi, I published this question on stackoverflow:
http://stackoverflow.com/questions/32416481/supervisord-and-ruby-cant-find-ruby-executable-hooks

I'm trying to configure supervisord to run my ruby app. The app runs fine
when I do ./manage.py runserver So I'm guessing the problem is about paths.

This is the error I get: /usr/bin/env: ruby_executable_hooks: No existe el
fichero o el directorio

This is my supervisord conf:

[program:myapp]
directory=/home/myapp/production
command=/usr/local/rvm/gems/ruby-2.0.0-p451/bin/bundle exec rails server -d
environment=RAILS_ENV="production",PATH="/usr/local/rvm/gems/ruby-2.0.0-p451/bin:/usr/local/rvm/gems/ruby-2.0.0-p451@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p451/bin:/usr/local/rvm/bin:/u$
autostart=true
autorestart=true
user=myuser
chown=myuser:mygroup
chmod=0660

Can someone detect the error here?

Thanks.

-- 
*Martín Szyszlican*
Desarrollo web usable y accesible
martinszyszlican.com
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to