0

我嘗試運行與supervisordSupervisord與軌道 - 找不到命令「RAILS_ENV =生產」

這裏sidekiq服務是我的配置:

[program:my-app-sidekiq-staging] 
directory=/srv/www/DOMAIN/current 
command=RAILS_ENV=production /usr/local/rvm/bin/rvm [email protected] do bundle exec sidekiq -e production -d -C config/sidekiq.yml -L log/sidekiq.log 
autostart=true 
autorestart=true 
redirect_stderr=true 

啓動後,我有致命錯誤:

can't find command 'RAILS_ENV=production' 

我很困惑,因爲我對軌配置無差錯運行

directory=/srv/www/DOMAIN/current 
command=RAILS_ENV=production /usr/local/rvm/bin/rvm [email protected] do bundle exec passenger start -S tmp/unicorn/ilp-app-unicorn.sock --environment production --friendly-error-pages 

回答