Question

Recently moved project to another server. Capistrano stoped working. How to find what is wrong?

 ** sftp upload #<StringIO:0x00000001b4b5d0> -> /home/xxx/production/TOUCH_ASSETS
    [yyy.xxx.lt] /home/xxx/production/TOUCH_ASSETS
    [yyy.xxx.lt] done
  * sftp upload complete
  * executing "cat /home/xxx/production/TOUCH_ASSETS | while read asset; do touch -cm -- \"$asset\"; done && rm -f -- /home/xxx/production/TOUCH_ASSETS"
    servers: ["yyy.xxx.lt"]
    [yyy.xxx.lt] executing command
    command finished in 593ms
*** [deploy:update_code] rolling back

Using RVM and Capistrano 2.14.1

Was it helpful?

Solution

I've got the same problem, just do set :rails_env, "production" instead of set :rails_env, :production.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top