{"action":"created","comment":{"url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/comments/46739448","id":46739448,"diff_hunk":"@@ -27,3 +27,19 @@ Be sure to make the script executable.\n \n If the script returns a nonzero status, deployment is considered\n a failure, and the build will be marked as \"errored\".\n+\n+## Deployment is executed by Ruby 1.9.3\n+\n+In order to ensure that deployments are executed reliably, we use a version of Ruby that\n+is pre-installed on all of our build images.\n+Currently, this is Ruby 1.9.3.\n+\n+A side effect of this is that, if you need to execute a command\n+that requires a different Ruby, you need to execute it explicitly.","path":"user/deployment/script.md","position":21,"original_position":21,"commit_id":"89c7ea0ece64c6cbc8675370bc6406b608902d62","original_commit_id":"89c7ea0ece64c6cbc8675370bc6406b608902d62","user":{"login":"BanzaiMan","id":25666,"avatar_url":"https://avatars.githubusercontent.com/u/25666?v=3","gravatar_id":"","url":"https://api.github.com/users/BanzaiMan","html_url":"https://github.com/BanzaiMan","followers_url":"https://api.github.com/users/BanzaiMan/followers","following_url":"https://api.github.com/users/BanzaiMan/following{/other_user}","gists_url":"https://api.github.com/users/BanzaiMan/gists{/gist_id}","starred_url":"https://api.github.com/users/BanzaiMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BanzaiMan/subscriptions","organizations_url":"https://api.github.com/users/BanzaiMan/orgs","repos_url":"https://api.github.com/users/BanzaiMan/repos","events_url":"https://api.github.com/users/BanzaiMan/events{/privacy}","received_events_url":"https://api.github.com/users/BanzaiMan/received_events","type":"User","site_admin":false},"body":"Do you have an example of the problems with `before_deploy` and `after_deploy`?","created_at":"2015-12-04T22:19:31Z","updated_at":"2015-12-04T22:19:31Z","html_url":"https://github.com/travis-ci/docs-travis-ci-com/pull/441#discussion_r46739448","pull_request_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/441","_links":{"self":{"href":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/comments/46739448"},"html":{"href":"https://github.com/travis-ci/docs-travis-ci-com/pull/441#discussion_r46739448"},"pull_request":{"href":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/441"}}},"pull_request":{"url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/441","id":52675125,"html_url":"https://github.com/travis-ci/docs-travis-ci-com/pull/441","diff_url":"https://github.com/travis-ci/docs-travis-ci-com/pull/441.diff","patch_url":"https://github.com/travis-ci/docs-travis-ci-com/pull/441.patch","issue_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues/441","number":441,"state":"open","locked":false,"title":"Explain deployment is done via Ruby 1.9.3","user":{"login":"BanzaiMan","id":25666,"avatar_url":"https://avatars.githubusercontent.com/u/25666?v=3","gravatar_id":"","url":"https://api.github.com/users/BanzaiMan","html_url":"https://github.com/BanzaiMan","followers_url":"https://api.github.com/users/BanzaiMan/followers","following_url":"https://api.github.com/users/BanzaiMan/following{/other_user}","gists_url":"https://api.github.com/users/BanzaiMan/gists{/gist_id}","starred_url":"https://api.github.com/users/BanzaiMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BanzaiMan/subscriptions","organizations_url":"https://api.github.com/users/BanzaiMan/orgs","repos_url":"https://api.github.com/users/BanzaiMan/repos","events_url":"https://api.github.com/users/BanzaiMan/events{/privacy}","received_events_url":"https://api.github.com/users/BanzaiMan/received_events","type":"User","site_admin":false},"body":"Closes https://github.com/travis-ci/travis-ci/issues/5205","created_at":"2015-12-04T14:28:36Z","updated_at":"2015-12-04T22:19:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c79e965d0bc1f7eb1925bb1bc09cd0f1d8f92ada","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/441/commits","review_comments_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/441/comments","review_comment_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues/441/comments","statuses_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/statuses/89c7ea0ece64c6cbc8675370bc6406b608902d62","head":{"label":"travis-ci:ha-explain-dpl-ruby","ref":"ha-explain-dpl-ruby","sha":"89c7ea0ece64c6cbc8675370bc6406b608902d62","user":{"login":"travis-ci","id":639823,"avatar_url":"https://avatars.githubusercontent.com/u/639823?v=3","gravatar_id":"","url":"https://api.github.com/users/travis-ci","html_url":"https://github.com/travis-ci","followers_url":"https://api.github.com/users/travis-ci/followers","following_url":"https://api.github.com/users/travis-ci/following{/other_user}","gists_url":"https://api.github.com/users/travis-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/travis-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travis-ci/subscriptions","organizations_url":"https://api.github.com/users/travis-ci/orgs","repos_url":"https://api.github.com/users/travis-ci/repos","events_url":"https://api.github.com/users/travis-ci/events{/privacy}","received_events_url":"https://api.github.com/users/travis-ci/received_events","type":"Organization","site_admin":false},"repo":{"id":15974409,"name":"docs-travis-ci-com","full_name":"travis-ci/docs-travis-ci-com","owner":{"login":"travis-ci","id":639823,"avatar_url":"https://avatars.githubusercontent.com/u/639823?v=3","gravatar_id":"","url":"https://api.github.com/users/travis-ci","html_url":"https://github.com/travis-ci","followers_url":"https://api.github.com/users/travis-ci/followers","following_url":"https://api.github.com/users/travis-ci/following{/other_user}","gists_url":"https://api.github.com/users/travis-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/travis-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travis-ci/subscriptions","organizations_url":"https://api.github.com/users/travis-ci/orgs","repos_url":"https://api.github.com/users/travis-ci/repos","events_url":"https://api.github.com/users/travis-ci/events{/privacy}","received_events_url":"https://api.github.com/users/travis-ci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/travis-ci/docs-travis-ci-com","description":"The Travis CI Documentation","fork":false,"url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com","forks_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/forks","keys_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/teams","hooks_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/hooks","issue_events_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues/events{/number}","events_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/events","assignees_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/assignees{/user}","branches_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/branches{/branch}","tags_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/tags","blobs_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/refs{/sha}","trees_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/statuses/{sha}","languages_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/languages","stargazers_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/stargazers","contributors_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/contributors","subscribers_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/subscribers","subscription_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/subscription","commits_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/commits{/sha}","git_commits_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/commits{/sha}","comments_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/comments{/number}","issue_comment_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues/comments{/number}","contents_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/contents/{+path}","compare_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/merges","archive_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/downloads","issues_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues{/number}","pulls_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls{/number}","milestones_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/milestones{/number}","notifications_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/labels{/name}","releases_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/releases{/id}","created_at":"2014-01-16T16:57:49Z","updated_at":"2015-11-20T00:50:00Z","pushed_at":"2015-12-04T14:28:36Z","git_url":"git://github.com/travis-ci/docs-travis-ci-com.git","ssh_url":"git@github.com:travis-ci/docs-travis-ci-com.git","clone_url":"https://github.com/travis-ci/docs-travis-ci-com.git","svn_url":"https://github.com/travis-ci/docs-travis-ci-com","homepage":"http://docs.travis-ci.com","size":10641,"stargazers_count":61,"watchers_count":61,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":202,"mirror_url":null,"open_issues_count":53,"forks":202,"open_issues":53,"watchers":61,"default_branch":"gh-pages"}},"base":{"label":"travis-ci:gh-pages","ref":"gh-pages","sha":"2b5dd0744857ed06b3d4127b0dec50a85d139134","user":{"login":"travis-ci","id":639823,"avatar_url":"https://avatars.githubusercontent.com/u/639823?v=3","gravatar_id":"","url":"https://api.github.com/users/travis-ci","html_url":"https://github.com/travis-ci","followers_url":"https://api.github.com/users/travis-ci/followers","following_url":"https://api.github.com/users/travis-ci/following{/other_user}","gists_url":"https://api.github.com/users/travis-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/travis-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travis-ci/subscriptions","organizations_url":"https://api.github.com/users/travis-ci/orgs","repos_url":"https://api.github.com/users/travis-ci/repos","events_url":"https://api.github.com/users/travis-ci/events{/privacy}","received_events_url":"https://api.github.com/users/travis-ci/received_events","type":"Organization","site_admin":false},"repo":{"id":15974409,"name":"docs-travis-ci-com","full_name":"travis-ci/docs-travis-ci-com","owner":{"login":"travis-ci","id":639823,"avatar_url":"https://avatars.githubusercontent.com/u/639823?v=3","gravatar_id":"","url":"https://api.github.com/users/travis-ci","html_url":"https://github.com/travis-ci","followers_url":"https://api.github.com/users/travis-ci/followers","following_url":"https://api.github.com/users/travis-ci/following{/other_user}","gists_url":"https://api.github.com/users/travis-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/travis-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travis-ci/subscriptions","organizations_url":"https://api.github.com/users/travis-ci/orgs","repos_url":"https://api.github.com/users/travis-ci/repos","events_url":"https://api.github.com/users/travis-ci/events{/privacy}","received_events_url":"https://api.github.com/users/travis-ci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/travis-ci/docs-travis-ci-com","description":"The Travis CI Documentation","fork":false,"url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com","forks_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/forks","keys_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/teams","hooks_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/hooks","issue_events_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues/events{/number}","events_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/events","assignees_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/assignees{/user}","branches_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/branches{/branch}","tags_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/tags","blobs_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/refs{/sha}","trees_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/statuses/{sha}","languages_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/languages","stargazers_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/stargazers","contributors_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/contributors","subscribers_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/subscribers","subscription_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/subscription","commits_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/commits{/sha}","git_commits_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/git/commits{/sha}","comments_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/comments{/number}","issue_comment_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues/comments{/number}","contents_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/contents/{+path}","compare_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/merges","archive_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/downloads","issues_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues{/number}","pulls_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls{/number}","milestones_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/milestones{/number}","notifications_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/labels{/name}","releases_url":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/releases{/id}","created_at":"2014-01-16T16:57:49Z","updated_at":"2015-11-20T00:50:00Z","pushed_at":"2015-12-04T14:28:36Z","git_url":"git://github.com/travis-ci/docs-travis-ci-com.git","ssh_url":"git@github.com:travis-ci/docs-travis-ci-com.git","clone_url":"https://github.com/travis-ci/docs-travis-ci-com.git","svn_url":"https://github.com/travis-ci/docs-travis-ci-com","homepage":"http://docs.travis-ci.com","size":10641,"stargazers_count":61,"watchers_count":61,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":202,"mirror_url":null,"open_issues_count":53,"forks":202,"open_issues":53,"watchers":61,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/441"},"html":{"href":"https://github.com/travis-ci/docs-travis-ci-com/pull/441"},"issue":{"href":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues/441"},"comments":{"href":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/issues/441/comments"},"review_comments":{"href":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/441/comments"},"review_comment":{"href":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/pulls/441/commits"},"statuses":{"href":"https://api.github.com/repos/travis-ci/docs-travis-ci-com/statuses/89c7ea0ece64c6cbc8675370bc6406b608902d62"}}}}