Using God to monitor Unicorn - Start exited with non-zero code = 1

后端 未结 3 1609
孤街浪徒
孤街浪徒 2020-12-14 05:42

I am working on a God script to monitor my Unicorns. I started with GitHub\'s examples script and have been modifying it to match my server configuration. Once God is runn

3条回答
  •  猫巷女王i
    2020-12-14 06:32

    My problem was that I never bundled as root. Here is what I did:

    sudo bash
    cd RAILS_ROOT
    bundle
    

    You get a warning telling you to never do this:

    Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.

    But it was the only way I could get resque or unicorn to run with god. This was on an ec2 instance if that helps anyone.

提交回复
热议问题