{"action":"closed","number":521,"pull_request":{"url":"https://api.github.com/repos/javan/whenever/pulls/521","id":26796163,"html_url":"https://github.com/javan/whenever/pull/521","diff_url":"https://github.com/javan/whenever/pull/521.diff","patch_url":"https://github.com/javan/whenever/pull/521.patch","issue_url":"https://api.github.com/repos/javan/whenever/issues/521","number":521,"state":"closed","locked":false,"title":"Add rbenv rake","user":{"login":"adelevie","id":86790,"avatar_url":"https://avatars.githubusercontent.com/u/86790?v=3","gravatar_id":"","url":"https://api.github.com/users/adelevie","html_url":"https://github.com/adelevie","followers_url":"https://api.github.com/users/adelevie/followers","following_url":"https://api.github.com/users/adelevie/following{/other_user}","gists_url":"https://api.github.com/users/adelevie/gists{/gist_id}","starred_url":"https://api.github.com/users/adelevie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelevie/subscriptions","organizations_url":"https://api.github.com/users/adelevie/orgs","repos_url":"https://api.github.com/users/adelevie/repos","events_url":"https://api.github.com/users/adelevie/events{/privacy}","received_events_url":"https://api.github.com/users/adelevie/received_events","type":"User","site_admin":false},"body":"Shamelessly copied the solution described here http://benscheirman.com/2013/12/using-rbenv-in-cron-jobs/.\r\n\r\nFor `rake` tasks, just use `rbenv_rake \"my:rake:task\"` instead of `rake \"my:rake:task`.\r\n","created_at":"2015-01-04T15:24:43Z","updated_at":"2015-01-10T20:19:28Z","closed_at":"2015-01-10T20:19:28Z","merged_at":null,"merge_commit_sha":"0cdea8b9779e4e10cb077d6c8e1c7b0d0c271a98","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/javan/whenever/pulls/521/commits","review_comments_url":"https://api.github.com/repos/javan/whenever/pulls/521/comments","review_comment_url":"https://api.github.com/repos/javan/whenever/pulls/comments/{number}","comments_url":"https://api.github.com/repos/javan/whenever/issues/521/comments","statuses_url":"https://api.github.com/repos/javan/whenever/statuses/c033885a7c78fc954892507ff2fb13314dcb780e","head":{"label":"adelevie:add_rbenv_rake","ref":"add_rbenv_rake","sha":"c033885a7c78fc954892507ff2fb13314dcb780e","user":{"login":"adelevie","id":86790,"avatar_url":"https://avatars.githubusercontent.com/u/86790?v=3","gravatar_id":"","url":"https://api.github.com/users/adelevie","html_url":"https://github.com/adelevie","followers_url":"https://api.github.com/users/adelevie/followers","following_url":"https://api.github.com/users/adelevie/following{/other_user}","gists_url":"https://api.github.com/users/adelevie/gists{/gist_id}","starred_url":"https://api.github.com/users/adelevie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelevie/subscriptions","organizations_url":"https://api.github.com/users/adelevie/orgs","repos_url":"https://api.github.com/users/adelevie/repos","events_url":"https://api.github.com/users/adelevie/events{/privacy}","received_events_url":"https://api.github.com/users/adelevie/received_events","type":"User","site_admin":false},"repo":{"id":28777548,"name":"whenever","full_name":"adelevie/whenever","owner":{"login":"adelevie","id":86790,"avatar_url":"https://avatars.githubusercontent.com/u/86790?v=3","gravatar_id":"","url":"https://api.github.com/users/adelevie","html_url":"https://github.com/adelevie","followers_url":"https://api.github.com/users/adelevie/followers","following_url":"https://api.github.com/users/adelevie/following{/other_user}","gists_url":"https://api.github.com/users/adelevie/gists{/gist_id}","starred_url":"https://api.github.com/users/adelevie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelevie/subscriptions","organizations_url":"https://api.github.com/users/adelevie/orgs","repos_url":"https://api.github.com/users/adelevie/repos","events_url":"https://api.github.com/users/adelevie/events{/privacy}","received_events_url":"https://api.github.com/users/adelevie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adelevie/whenever","description":"Cron jobs in Ruby","fork":true,"url":"https://api.github.com/repos/adelevie/whenever","forks_url":"https://api.github.com/repos/adelevie/whenever/forks","keys_url":"https://api.github.com/repos/adelevie/whenever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adelevie/whenever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adelevie/whenever/teams","hooks_url":"https://api.github.com/repos/adelevie/whenever/hooks","issue_events_url":"https://api.github.com/repos/adelevie/whenever/issues/events{/number}","events_url":"https://api.github.com/repos/adelevie/whenever/events","assignees_url":"https://api.github.com/repos/adelevie/whenever/assignees{/user}","branches_url":"https://api.github.com/repos/adelevie/whenever/branches{/branch}","tags_url":"https://api.github.com/repos/adelevie/whenever/tags","blobs_url":"https://api.github.com/repos/adelevie/whenever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adelevie/whenever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adelevie/whenever/git/refs{/sha}","trees_url":"https://api.github.com/repos/adelevie/whenever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adelevie/whenever/statuses/{sha}","languages_url":"https://api.github.com/repos/adelevie/whenever/languages","stargazers_url":"https://api.github.com/repos/adelevie/whenever/stargazers","contributors_url":"https://api.github.com/repos/adelevie/whenever/contributors","subscribers_url":"https://api.github.com/repos/adelevie/whenever/subscribers","subscription_url":"https://api.github.com/repos/adelevie/whenever/subscription","commits_url":"https://api.github.com/repos/adelevie/whenever/commits{/sha}","git_commits_url":"https://api.github.com/repos/adelevie/whenever/git/commits{/sha}","comments_url":"https://api.github.com/repos/adelevie/whenever/comments{/number}","issue_comment_url":"https://api.github.com/repos/adelevie/whenever/issues/comments/{number}","contents_url":"https://api.github.com/repos/adelevie/whenever/contents/{+path}","compare_url":"https://api.github.com/repos/adelevie/whenever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adelevie/whenever/merges","archive_url":"https://api.github.com/repos/adelevie/whenever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adelevie/whenever/downloads","issues_url":"https://api.github.com/repos/adelevie/whenever/issues{/number}","pulls_url":"https://api.github.com/repos/adelevie/whenever/pulls{/number}","milestones_url":"https://api.github.com/repos/adelevie/whenever/milestones{/number}","notifications_url":"https://api.github.com/repos/adelevie/whenever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adelevie/whenever/labels{/name}","releases_url":"https://api.github.com/repos/adelevie/whenever/releases{/id}","created_at":"2015-01-04T15:16:35Z","updated_at":"2015-01-04T15:16:35Z","pushed_at":"2015-01-04T15:26:02Z","git_url":"git://github.com/adelevie/whenever.git","ssh_url":"git@github.com:adelevie/whenever.git","clone_url":"https://github.com/adelevie/whenever.git","svn_url":"https://github.com/adelevie/whenever","homepage":"","size":531,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"javan:master","ref":"master","sha":"cee5fb0770d3ca301b39e2d45603ad822f202217","user":{"login":"javan","id":5355,"avatar_url":"https://avatars.githubusercontent.com/u/5355?v=3","gravatar_id":"","url":"https://api.github.com/users/javan","html_url":"https://github.com/javan","followers_url":"https://api.github.com/users/javan/followers","following_url":"https://api.github.com/users/javan/following{/other_user}","gists_url":"https://api.github.com/users/javan/gists{/gist_id}","starred_url":"https://api.github.com/users/javan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javan/subscriptions","organizations_url":"https://api.github.com/users/javan/orgs","repos_url":"https://api.github.com/users/javan/repos","events_url":"https://api.github.com/users/javan/events{/privacy}","received_events_url":"https://api.github.com/users/javan/received_events","type":"User","site_admin":false},"repo":{"id":129791,"name":"whenever","full_name":"javan/whenever","owner":{"login":"javan","id":5355,"avatar_url":"https://avatars.githubusercontent.com/u/5355?v=3","gravatar_id":"","url":"https://api.github.com/users/javan","html_url":"https://github.com/javan","followers_url":"https://api.github.com/users/javan/followers","following_url":"https://api.github.com/users/javan/following{/other_user}","gists_url":"https://api.github.com/users/javan/gists{/gist_id}","starred_url":"https://api.github.com/users/javan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javan/subscriptions","organizations_url":"https://api.github.com/users/javan/orgs","repos_url":"https://api.github.com/users/javan/repos","events_url":"https://api.github.com/users/javan/events{/privacy}","received_events_url":"https://api.github.com/users/javan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/javan/whenever","description":"Cron jobs in Ruby","fork":false,"url":"https://api.github.com/repos/javan/whenever","forks_url":"https://api.github.com/repos/javan/whenever/forks","keys_url":"https://api.github.com/repos/javan/whenever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javan/whenever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javan/whenever/teams","hooks_url":"https://api.github.com/repos/javan/whenever/hooks","issue_events_url":"https://api.github.com/repos/javan/whenever/issues/events{/number}","events_url":"https://api.github.com/repos/javan/whenever/events","assignees_url":"https://api.github.com/repos/javan/whenever/assignees{/user}","branches_url":"https://api.github.com/repos/javan/whenever/branches{/branch}","tags_url":"https://api.github.com/repos/javan/whenever/tags","blobs_url":"https://api.github.com/repos/javan/whenever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javan/whenever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javan/whenever/git/refs{/sha}","trees_url":"https://api.github.com/repos/javan/whenever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javan/whenever/statuses/{sha}","languages_url":"https://api.github.com/repos/javan/whenever/languages","stargazers_url":"https://api.github.com/repos/javan/whenever/stargazers","contributors_url":"https://api.github.com/repos/javan/whenever/contributors","subscribers_url":"https://api.github.com/repos/javan/whenever/subscribers","subscription_url":"https://api.github.com/repos/javan/whenever/subscription","commits_url":"https://api.github.com/repos/javan/whenever/commits{/sha}","git_commits_url":"https://api.github.com/repos/javan/whenever/git/commits{/sha}","comments_url":"https://api.github.com/repos/javan/whenever/comments{/number}","issue_comment_url":"https://api.github.com/repos/javan/whenever/issues/comments/{number}","contents_url":"https://api.github.com/repos/javan/whenever/contents/{+path}","compare_url":"https://api.github.com/repos/javan/whenever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javan/whenever/merges","archive_url":"https://api.github.com/repos/javan/whenever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javan/whenever/downloads","issues_url":"https://api.github.com/repos/javan/whenever/issues{/number}","pulls_url":"https://api.github.com/repos/javan/whenever/pulls{/number}","milestones_url":"https://api.github.com/repos/javan/whenever/milestones{/number}","notifications_url":"https://api.github.com/repos/javan/whenever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javan/whenever/labels{/name}","releases_url":"https://api.github.com/repos/javan/whenever/releases{/id}","created_at":"2009-02-16T03:19:48Z","updated_at":"2015-01-10T14:49:06Z","pushed_at":"2015-01-06T02:49:36Z","git_url":"git://github.com/javan/whenever.git","ssh_url":"git@github.com:javan/whenever.git","clone_url":"https://github.com/javan/whenever.git","svn_url":"https://github.com/javan/whenever","homepage":"","size":1584,"stargazers_count":5068,"watchers_count":5068,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":462,"mirror_url":null,"open_issues_count":8,"forks":462,"open_issues":8,"watchers":5068,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/javan/whenever/pulls/521"},"html":{"href":"https://github.com/javan/whenever/pull/521"},"issue":{"href":"https://api.github.com/repos/javan/whenever/issues/521"},"comments":{"href":"https://api.github.com/repos/javan/whenever/issues/521/comments"},"review_comments":{"href":"https://api.github.com/repos/javan/whenever/pulls/521/comments"},"review_comment":{"href":"https://api.github.com/repos/javan/whenever/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/javan/whenever/pulls/521/commits"},"statuses":{"href":"https://api.github.com/repos/javan/whenever/statuses/c033885a7c78fc954892507ff2fb13314dcb780e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":16,"deletions":8,"changed_files":2}}