{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/113502067","pull_request_review_id":34896473,"id":113502067,"diff_hunk":"@@ -193,3 +210,20 @@ $ oc rsh <pod_id>\n \n After you enter into the running container, your current directory is set to\n *_/opt/app-root/src_*, where the source code is located.\n+\n+ifdef::openshift-online[]\n+[[ruby-templates]]\n+== Ruby Templates\n+\n+{product-title} includes an example template to deploy a\n+link:https://github.com/openshift/rails-ex[sample Rails application].\n+This template builds and deploys the sample application on Ruby 2.3 with a\n+PostgreSQL database using a persistent volume for storage.\n+\n+The sample application can be built and deployed using the `rhscl/ruby-23-rhel7`\n+image with the following command:\n+\n+----\n+oc new-app --template=rails-pgsql-persistent","path":"using_images/s2i_images/ruby.adoc","position":85,"original_position":85,"commit_id":"d37f4728bb92b217189b0ea61f9735d9da21168d","original_commit_id":"d37f4728bb92b217189b0ea61f9735d9da21168d","user":{"login":"ahardin-rh","id":16197393,"avatar_url":"https://avatars2.githubusercontent.com/u/16197393?v=3","gravatar_id":"","url":"https://api.github.com/users/ahardin-rh","html_url":"https://github.com/ahardin-rh","followers_url":"https://api.github.com/users/ahardin-rh/followers","following_url":"https://api.github.com/users/ahardin-rh/following{/other_user}","gists_url":"https://api.github.com/users/ahardin-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/ahardin-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahardin-rh/subscriptions","organizations_url":"https://api.github.com/users/ahardin-rh/orgs","repos_url":"https://api.github.com/users/ahardin-rh/repos","events_url":"https://api.github.com/users/ahardin-rh/events{/privacy}","received_events_url":"https://api.github.com/users/ahardin-rh/received_events","type":"User","site_admin":false},"body":"$ before the command","created_at":"2017-04-26T16:35:43Z","updated_at":"2017-04-26T16:35:43Z","html_url":"https://github.com/openshift/openshift-docs/pull/4255#discussion_r113502067","pull_request_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/4255","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/113502067"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/4255#discussion_r113502067"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/4255"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/4255","id":117656672,"html_url":"https://github.com/openshift/openshift-docs/pull/4255","diff_url":"https://github.com/openshift/openshift-docs/pull/4255.diff","patch_url":"https://github.com/openshift/openshift-docs/pull/4255.patch","issue_url":"https://api.github.com/repos/openshift/openshift-docs/issues/4255","number":4255,"state":"open","locked":false,"title":"Fix S2I Ruby documentation for Online","user":{"login":"Miciah","id":2042465,"avatar_url":"https://avatars2.githubusercontent.com/u/2042465?v=3","gravatar_id":"","url":"https://api.github.com/users/Miciah","html_url":"https://github.com/Miciah","followers_url":"https://api.github.com/users/Miciah/followers","following_url":"https://api.github.com/users/Miciah/following{/other_user}","gists_url":"https://api.github.com/users/Miciah/gists{/gist_id}","starred_url":"https://api.github.com/users/Miciah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miciah/subscriptions","organizations_url":"https://api.github.com/users/Miciah/orgs","repos_url":"https://api.github.com/users/Miciah/repos","events_url":"https://api.github.com/users/Miciah/events{/privacy}","received_events_url":"https://api.github.com/users/Miciah/received_events","type":"User","site_admin":false},"body":"• For Online and Dedicated, fix a bad ifdef that decapitated a sentence in the introduction.\r\n\r\n• For Online, only mention the rhel7 images, not the centos7 images.\r\n\r\n• Fix a typo: \"DockerHub\" should be \"Docker Hub\".\r\n\r\n• For Online, tell the reader to use the \"ruby\" image stream.\r\n\r\n• Add a section for Online about the rails-pgsql-persistent template.\r\n\r\n---\r\n\r\nFYI @ahardin-rh.","created_at":"2017-04-26T08:21:51Z","updated_at":"2017-04-26T16:35:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b35d4af0f1977d8dbad75f57c2ff6d6a25a7bb79","assignee":{"login":"ahardin-rh","id":16197393,"avatar_url":"https://avatars2.githubusercontent.com/u/16197393?v=3","gravatar_id":"","url":"https://api.github.com/users/ahardin-rh","html_url":"https://github.com/ahardin-rh","followers_url":"https://api.github.com/users/ahardin-rh/followers","following_url":"https://api.github.com/users/ahardin-rh/following{/other_user}","gists_url":"https://api.github.com/users/ahardin-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/ahardin-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahardin-rh/subscriptions","organizations_url":"https://api.github.com/users/ahardin-rh/orgs","repos_url":"https://api.github.com/users/ahardin-rh/repos","events_url":"https://api.github.com/users/ahardin-rh/events{/privacy}","received_events_url":"https://api.github.com/users/ahardin-rh/received_events","type":"User","site_admin":false},"assignees":[{"login":"ahardin-rh","id":16197393,"avatar_url":"https://avatars2.githubusercontent.com/u/16197393?v=3","gravatar_id":"","url":"https://api.github.com/users/ahardin-rh","html_url":"https://github.com/ahardin-rh","followers_url":"https://api.github.com/users/ahardin-rh/followers","following_url":"https://api.github.com/users/ahardin-rh/following{/other_user}","gists_url":"https://api.github.com/users/ahardin-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/ahardin-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahardin-rh/subscriptions","organizations_url":"https://api.github.com/users/ahardin-rh/orgs","repos_url":"https://api.github.com/users/ahardin-rh/repos","events_url":"https://api.github.com/users/ahardin-rh/events{/privacy}","received_events_url":"https://api.github.com/users/ahardin-rh/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/4255/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/4255/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/issues/4255/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/d37f4728bb92b217189b0ea61f9735d9da21168d","head":{"label":"Miciah:fix-s2i-ruby-documentation-for-online","ref":"fix-s2i-ruby-documentation-for-online","sha":"d37f4728bb92b217189b0ea61f9735d9da21168d","user":{"login":"Miciah","id":2042465,"avatar_url":"https://avatars2.githubusercontent.com/u/2042465?v=3","gravatar_id":"","url":"https://api.github.com/users/Miciah","html_url":"https://github.com/Miciah","followers_url":"https://api.github.com/users/Miciah/followers","following_url":"https://api.github.com/users/Miciah/following{/other_user}","gists_url":"https://api.github.com/users/Miciah/gists{/gist_id}","starred_url":"https://api.github.com/users/Miciah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miciah/subscriptions","organizations_url":"https://api.github.com/users/Miciah/orgs","repos_url":"https://api.github.com/users/Miciah/repos","events_url":"https://api.github.com/users/Miciah/events{/privacy}","received_events_url":"https://api.github.com/users/Miciah/received_events","type":"User","site_admin":false},"repo":{"id":37096792,"name":"openshift-docs","full_name":"Miciah/openshift-docs","owner":{"login":"Miciah","id":2042465,"avatar_url":"https://avatars2.githubusercontent.com/u/2042465?v=3","gravatar_id":"","url":"https://api.github.com/users/Miciah","html_url":"https://github.com/Miciah","followers_url":"https://api.github.com/users/Miciah/followers","following_url":"https://api.github.com/users/Miciah/following{/other_user}","gists_url":"https://api.github.com/users/Miciah/gists{/gist_id}","starred_url":"https://api.github.com/users/Miciah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miciah/subscriptions","organizations_url":"https://api.github.com/users/Miciah/orgs","repos_url":"https://api.github.com/users/Miciah/repos","events_url":"https://api.github.com/users/Miciah/events{/privacy}","received_events_url":"https://api.github.com/users/Miciah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Miciah/openshift-docs","description":"OpenShift Documentation","fork":true,"url":"https://api.github.com/repos/Miciah/openshift-docs","forks_url":"https://api.github.com/repos/Miciah/openshift-docs/forks","keys_url":"https://api.github.com/repos/Miciah/openshift-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Miciah/openshift-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Miciah/openshift-docs/teams","hooks_url":"https://api.github.com/repos/Miciah/openshift-docs/hooks","issue_events_url":"https://api.github.com/repos/Miciah/openshift-docs/issues/events{/number}","events_url":"https://api.github.com/repos/Miciah/openshift-docs/events","assignees_url":"https://api.github.com/repos/Miciah/openshift-docs/assignees{/user}","branches_url":"https://api.github.com/repos/Miciah/openshift-docs/branches{/branch}","tags_url":"https://api.github.com/repos/Miciah/openshift-docs/tags","blobs_url":"https://api.github.com/repos/Miciah/openshift-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Miciah/openshift-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Miciah/openshift-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Miciah/openshift-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Miciah/openshift-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/Miciah/openshift-docs/languages","stargazers_url":"https://api.github.com/repos/Miciah/openshift-docs/stargazers","contributors_url":"https://api.github.com/repos/Miciah/openshift-docs/contributors","subscribers_url":"https://api.github.com/repos/Miciah/openshift-docs/subscribers","subscription_url":"https://api.github.com/repos/Miciah/openshift-docs/subscription","commits_url":"https://api.github.com/repos/Miciah/openshift-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Miciah/openshift-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Miciah/openshift-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Miciah/openshift-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Miciah/openshift-docs/contents/{+path}","compare_url":"https://api.github.com/repos/Miciah/openshift-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Miciah/openshift-docs/merges","archive_url":"https://api.github.com/repos/Miciah/openshift-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Miciah/openshift-docs/downloads","issues_url":"https://api.github.com/repos/Miciah/openshift-docs/issues{/number}","pulls_url":"https://api.github.com/repos/Miciah/openshift-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/Miciah/openshift-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/Miciah/openshift-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Miciah/openshift-docs/labels{/name}","releases_url":"https://api.github.com/repos/Miciah/openshift-docs/releases{/id}","deployments_url":"https://api.github.com/repos/Miciah/openshift-docs/deployments","created_at":"2015-06-08T22:39:36Z","updated_at":"2015-06-08T22:39:36Z","pushed_at":"2017-04-26T09:00:10Z","git_url":"git://github.com/Miciah/openshift-docs.git","ssh_url":"git@github.com:Miciah/openshift-docs.git","clone_url":"https://github.com/Miciah/openshift-docs.git","svn_url":"https://github.com/Miciah/openshift-docs","homepage":null,"size":30204,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"openshift:master","ref":"master","sha":"c86a7bfd425e6415068b48dd2a59fc5ef605aa97","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars0.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":21740844,"name":"openshift-docs","full_name":"openshift/openshift-docs","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars0.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/openshift-docs","description":"OpenShift Documentation","fork":false,"url":"https://api.github.com/repos/openshift/openshift-docs","forks_url":"https://api.github.com/repos/openshift/openshift-docs/forks","keys_url":"https://api.github.com/repos/openshift/openshift-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-docs/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-docs/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-docs/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-docs/events","assignees_url":"https://api.github.com/repos/openshift/openshift-docs/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-docs/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-docs/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-docs/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-docs/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-docs/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-docs/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-docs/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/openshift-docs/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-docs/merges","archive_url":"https://api.github.com/repos/openshift/openshift-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-docs/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-docs/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-docs/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-docs/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/openshift-docs/deployments","created_at":"2014-07-11T15:14:42Z","updated_at":"2017-04-26T16:31:21Z","pushed_at":"2017-04-26T15:43:47Z","git_url":"git://github.com/openshift/openshift-docs.git","ssh_url":"git@github.com:openshift/openshift-docs.git","clone_url":"https://github.com/openshift/openshift-docs.git","svn_url":"https://github.com/openshift/openshift-docs","homepage":"https://docs.openshift.org/latest/welcome/index.html","size":37482,"stargazers_count":81,"watchers_count":81,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":346,"mirror_url":null,"open_issues_count":256,"forks":346,"open_issues":256,"watchers":81,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/4255"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/4255"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/4255"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/4255/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/4255/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/4255/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-docs/statuses/d37f4728bb92b217189b0ea61f9735d9da21168d"}}}}
{"actor":{"display_login":"ahardin-rh"}}