I have published the fix in Stack Overflow to share the solution with
others.
Saludos,
Javier
On 06/09/15 11:48, Martín Szyszlican wrote:
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 execrails
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 <http://martinszyszlican.com>
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
https://lists.supervisord.org/mailman/listinfo/supervisor-users
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
https://lists.supervisord.org/mailman/listinfo/supervisor-users