ruby on rails - Capistrano Depolyment failure : /etc/init.d/unicorn: line 42: rvm-shell command not found -
I am stationed on the server using Unicorn, and Callistino in the rail .... < / P> But in the last phase of deployment, Capistrano exists with this error: When I run the rvm-shell command from the terminal on the server, it runs without any errors. Note: This was actually some permissions issue on the server. When I execute the command , which was failing directly on the server, it produced some directory permission errors I manually created those directories Made them solve and solve them. , which wasted time due to a lot of confusion and debugging. I hope my answer will help other people that they get the same error and save a lot of their time :)
INFO [47010f4f] is running / usr / bin / env service on unicorn_app restart xyzdomain.com DEBUG [47010f4f] Order: Service Unicorn_app restart DEBUG [47010f4f] Reload T, 'CD / var / www / app / current; RVM-Shell 'Default' -C 'Bundle Exec Unicon - D -c /var/www/app/shared/config/unicorn.rb-E Staging' Instead Debug [47010f4f] DEBUG [47010f4f] / ATC / Int. / Unicorn_app: Line 42: RVM-Shell: Order Not Found DEBUG [47010f4f] Cap Canceled!
rvm-shell is installed ~ / .rvm / bin
Comments
Post a Comment