Rake assets:precompile gets killed when there is a console session open in production

后端 未结 5 1735
余生分开走
余生分开走 2020-12-28 17:35

On my production server, which is hosted on digital ocean, if that helps, Ubuntu 12.04, I have RoR 4 and rake 10.1.1.

When I deploy, I run rake assets:precompi

5条回答
  •  无人及你
    2020-12-28 18:11

    This might help someone. For me, since i couldn't use 'fallocate' command, i had to do:

    sudo dd if=/dev/zero of=/mnt/4GB.swap bs=4096 count=1048576
    sudo chmod 600 /mnt/4GBB.swap
    sudo mkswap /mnt/4GB.swap
    sudo swapon /mnt/4GB.swap
    

提交回复
热议问题