{"action":"created","issue":{"url":"https://api.github.com/repos/dignoe/whenever-elasticbeanstalk/issues/18","labels_url":"https://api.github.com/repos/dignoe/whenever-elasticbeanstalk/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/dignoe/whenever-elasticbeanstalk/issues/18/comments","events_url":"https://api.github.com/repos/dignoe/whenever-elasticbeanstalk/issues/18/events","html_url":"https://github.com/dignoe/whenever-elasticbeanstalk/issues/18","id":46370475,"number":18,"title":"Command cron_01_set_leader failed","user":{"login":"sumit20rai","id":5861236,"avatar_url":"https://avatars.githubusercontent.com/u/5861236?v=3","gravatar_id":"","url":"https://api.github.com/users/sumit20rai","html_url":"https://github.com/sumit20rai","followers_url":"https://api.github.com/users/sumit20rai/followers","following_url":"https://api.github.com/users/sumit20rai/following{/other_user}","gists_url":"https://api.github.com/users/sumit20rai/gists{/gist_id}","starred_url":"https://api.github.com/users/sumit20rai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumit20rai/subscriptions","organizations_url":"https://api.github.com/users/sumit20rai/orgs","repos_url":"https://api.github.com/users/sumit20rai/repos","events_url":"https://api.github.com/users/sumit20rai/events{/privacy}","received_events_url":"https://api.github.com/users/sumit20rai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dignoe/whenever-elasticbeanstalk/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jufemaiz","id":16481,"avatar_url":"https://avatars.githubusercontent.com/u/16481?v=3","gravatar_id":"","url":"https://api.github.com/users/jufemaiz","html_url":"https://github.com/jufemaiz","followers_url":"https://api.github.com/users/jufemaiz/followers","following_url":"https://api.github.com/users/jufemaiz/following{/other_user}","gists_url":"https://api.github.com/users/jufemaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/jufemaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jufemaiz/subscriptions","organizations_url":"https://api.github.com/users/jufemaiz/orgs","repos_url":"https://api.github.com/users/jufemaiz/repos","events_url":"https://api.github.com/users/jufemaiz/events{/privacy}","received_events_url":"https://api.github.com/users/jufemaiz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dignoe/whenever-elasticbeanstalk/milestones/2","html_url":"https://github.com/dignoe/whenever-elasticbeanstalk/milestones/1.1.5","labels_url":"https://api.github.com/repos/dignoe/whenever-elasticbeanstalk/milestones/2/labels","id":744443,"number":2,"title":"1.1.5","description":null,"creator":{"login":"jufemaiz","id":16481,"avatar_url":"https://avatars.githubusercontent.com/u/16481?v=3","gravatar_id":"","url":"https://api.github.com/users/jufemaiz","html_url":"https://github.com/jufemaiz","followers_url":"https://api.github.com/users/jufemaiz/followers","following_url":"https://api.github.com/users/jufemaiz/following{/other_user}","gists_url":"https://api.github.com/users/jufemaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/jufemaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jufemaiz/subscriptions","organizations_url":"https://api.github.com/users/jufemaiz/orgs","repos_url":"https://api.github.com/users/jufemaiz/repos","events_url":"https://api.github.com/users/jufemaiz/events{/privacy}","received_events_url":"https://api.github.com/users/jufemaiz/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2014-08-06T02:19:10Z","updated_at":"2014-11-07T04:54:41Z","due_on":null,"closed_at":null},"comments":28,"created_at":"2014-10-21T09:07:12Z","updated_at":"2015-12-02T07:21:17Z","closed_at":null,"body":"After installing/configuring this gem, I'm seeing the following error in /var/log/cfn-init.log on my EC2 instance after running git aws.push from my local repo.\r\n\r\n\r\n2014-10-21 08:08:37,602 [DEBUG] Running test for command cron_01_set_leader\r\n2014-10-21 08:08:37,744 [DEBUG] Test command output: \r\n2014-10-21 08:08:37,745 [DEBUG] Test for command cron_01_set_leader passed\r\n2014-10-21 08:08:38,085 [ERROR] Command cron_01_set_leader (su -c \"/usr/local/bin/bundle exec create_cron_leader --no-update\" $EB_CONFIG_APP_USER) failed\r\n2014-10-21 08:08:38,086 [DEBUG] Command cron_01_set_leader output: bash: /usr/local/bin/bundle: No such file or directory\r\n\r\n2014-10-21 08:08:38,086 [ERROR] Error encountered during build of postbuild_0_tubett: Command cron_01_set_leader failed\r\nTraceback (most recent call last):\r\n\r\n\r\nI have added the whenever-elasticbeanstalk\r\nBelow is my cron.config file content..\r\nAny idea ...what am i doing wrong?\r\n\r\nfiles:\r\n  # Reload the on deployment\r\n  /opt/elasticbeanstalk/hooks/appdeploy/post/10_reload_cron.sh:\r\n    mode: \"00700\"\r\n    owner: root\r\n    group: root\r\n    content: |\r\n      #!/usr/bin/env bash\r\n      . /opt/elasticbeanstalk/containerfiles/envvars\r\n      cd $EB_CONFIG_APP_CURRENT\r\n      su -c \"/usr/local/bin/bundle exec setup_cron\" $EB_CONFIG_APP_USER\r\n  # Add Bundle to the PATH\r\n  \"/etc/profile.d/bundle.sh\":\r\n    mode: \"000755\"\r\n    owner: root\r\n    group: root\r\n    content: |\r\n      #!/usr/bin/env bash\r\n      export PATH=$PATH:/usr/local/bin\r\n    encoding: plain\r\ncontainer_commands:\r\n  cron_01_set_leader:\r\n    test: test ! -f /opt/elasticbeanstalk/containerfiles/.cron-setup-complete\r\n    leader_only: true\r\n    cwd: /var/app/ondeck\r\n    command: su -c \"/usr/local/bin/bundle exec create_cron_leader --no-update\" $EB_CONFIG_APP_USER\r\n  cron_02_write_cron_setup_complete_file:\r\n    cwd: /opt/elasticbeanstalk/containerfiles\r\n    command: touch .cron-setup-complete\r\n\r\n\r\nThanks\r\nSumit"},"comment":{"url":"https://api.github.com/repos/dignoe/whenever-elasticbeanstalk/issues/comments/161205291","html_url":"https://github.com/dignoe/whenever-elasticbeanstalk/issues/18#issuecomment-161205291","issue_url":"https://api.github.com/repos/dignoe/whenever-elasticbeanstalk/issues/18","id":161205291,"user":{"login":"samhamilton","id":415410,"avatar_url":"https://avatars.githubusercontent.com/u/415410?v=3","gravatar_id":"","url":"https://api.github.com/users/samhamilton","html_url":"https://github.com/samhamilton","followers_url":"https://api.github.com/users/samhamilton/followers","following_url":"https://api.github.com/users/samhamilton/following{/other_user}","gists_url":"https://api.github.com/users/samhamilton/gists{/gist_id}","starred_url":"https://api.github.com/users/samhamilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhamilton/subscriptions","organizations_url":"https://api.github.com/users/samhamilton/orgs","repos_url":"https://api.github.com/users/samhamilton/repos","events_url":"https://api.github.com/users/samhamilton/events{/privacy}","received_events_url":"https://api.github.com/users/samhamilton/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T07:21:17Z","updated_at":"2015-12-02T07:21:17Z","body":"Has anyone got this working with the latest AMI 2015.09? Seems to be broken again."}}