Discussion:
[Supervisor-users] Supervisord and Ruby: Can't find ruby_executable_hooks
Martín Szyszlican
2015-09-06 09:48:38 UTC
Permalink
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-***@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
Javier Matos Odut
2015-09-06 10:17:45 UTC
Permalink
I have published the fix in Stack Overflow to share the solution with
others.

Saludos,
Javier
Post by Martín Szyszlican
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|
|[program:myapp]directory=/home/myapp/production
command=/usr/local/rvm/gems/ruby-2.0.0-p451/bin/bundle execrails
server -d
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
https://lists.supervisord.org/mailman/listinfo/supervisor-users
Loading...