{"action":"created","issue":{"url":"https://api.github.com/repos/javan/whenever/issues/663","repository_url":"https://api.github.com/repos/javan/whenever","labels_url":"https://api.github.com/repos/javan/whenever/issues/663/labels{/name}","comments_url":"https://api.github.com/repos/javan/whenever/issues/663/comments","events_url":"https://api.github.com/repos/javan/whenever/issues/663/events","html_url":"https://github.com/javan/whenever/issues/663","id":181137116,"number":663,"title":"Please specify a valid ruby command or script path","user":{"login":"Aravind99","id":17309962,"avatar_url":"https://avatars.githubusercontent.com/u/17309962?v=3","gravatar_id":"","url":"https://api.github.com/users/Aravind99","html_url":"https://github.com/Aravind99","followers_url":"https://api.github.com/users/Aravind99/followers","following_url":"https://api.github.com/users/Aravind99/following{/other_user}","gists_url":"https://api.github.com/users/Aravind99/gists{/gist_id}","starred_url":"https://api.github.com/users/Aravind99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aravind99/subscriptions","organizations_url":"https://api.github.com/users/Aravind99/orgs","repos_url":"https://api.github.com/users/Aravind99/repos","events_url":"https://api.github.com/users/Aravind99/events{/privacy}","received_events_url":"https://api.github.com/users/Aravind99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-05T12:17:58Z","updated_at":"2016-12-07T10:49:13Z","closed_at":null,"body":"Running via Spring preloader in process 30540\nPlease specify a valid ruby command or the path of a script to run.\nRun 'bin/rails runner -h' for help.\n"},"comment":{"url":"https://api.github.com/repos/javan/whenever/issues/comments/265416273","html_url":"https://github.com/javan/whenever/issues/663#issuecomment-265416273","issue_url":"https://api.github.com/repos/javan/whenever/issues/663","id":265416273,"user":{"login":"degill","id":6094292,"avatar_url":"https://avatars.githubusercontent.com/u/6094292?v=3","gravatar_id":"","url":"https://api.github.com/users/degill","html_url":"https://github.com/degill","followers_url":"https://api.github.com/users/degill/followers","following_url":"https://api.github.com/users/degill/following{/other_user}","gists_url":"https://api.github.com/users/degill/gists{/gist_id}","starred_url":"https://api.github.com/users/degill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/degill/subscriptions","organizations_url":"https://api.github.com/users/degill/orgs","repos_url":"https://api.github.com/users/degill/repos","events_url":"https://api.github.com/users/degill/events{/privacy}","received_events_url":"https://api.github.com/users/degill/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T10:49:13Z","updated_at":"2016-12-07T10:49:13Z","body":"Sorry for hooking into this issue, but I am facing the same problem.\r\n\r\n````\r\nclass Challenge\r\n  def self.randomly_create_challenge\r\n    # do stuff\r\n  end\r\nend\r\n````\r\n\r\n```\r\nevery 1.minute do\r\n  runner \"Challenge.randomly_create_challenge\"\r\nend\r\n```\r\n\r\n```\r\ndegill$ whenever --version\r\nWhenever v0.9.7\r\n```\r\n\r\n````\r\ndegill$ rails -v\r\nRails 5.0.0.1\r\n````\r\n \r\n````\r\ndegill$ whenever --set environment=development\r\n* * * * * /bin/bash -l -c 'cd *APP_NAME_EDITED_OUT* && bundle exec bin/rails runner -e development '\\''Challenge.randomly_create_challenge'\\'''\r\n````\r\n\r\n````\r\ndegill$ rails runner -e development '\\''Challenge.randomly_create_challenge'\\'''\r\nPlease specify a valid ruby command or the path of a script to run.\r\nRun 'bin/rails runner -h' for help.\r\n````\r\nI am on MacOS 10.11.6"}}
{"actor":{"display_login":"degill"}}