{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/getting-started-ruby/issues/46","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/getting-started-ruby","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/getting-started-ruby/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/getting-started-ruby/issues/46/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/getting-started-ruby/issues/46/events","html_url":"https://github.com/GoogleCloudPlatform/getting-started-ruby/pull/46","id":152925988,"number":46,"title":"Don't lock Ruby version - always use latest","user":{"login":"remi","id":280,"avatar_url":"https://avatars.githubusercontent.com/u/280?v=3","gravatar_id":"","url":"https://api.github.com/users/remi","html_url":"https://github.com/remi","followers_url":"https://api.github.com/users/remi/followers","following_url":"https://api.github.com/users/remi/following{/other_user}","gists_url":"https://api.github.com/users/remi/gists{/gist_id}","starred_url":"https://api.github.com/users/remi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remi/subscriptions","organizations_url":"https://api.github.com/users/remi/orgs","repos_url":"https://api.github.com/users/remi/repos","events_url":"https://api.github.com/users/remi/events{/privacy}","received_events_url":"https://api.github.com/users/remi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-04T04:14:50Z","updated_at":"2016-05-04T11:44:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/getting-started-ruby/pulls/46","html_url":"https://github.com/GoogleCloudPlatform/getting-started-ruby/pull/46","diff_url":"https://github.com/GoogleCloudPlatform/getting-started-ruby/pull/46.diff","patch_url":"https://github.com/GoogleCloudPlatform/getting-started-ruby/pull/46.patch"},"body":"This solves a few problems:\r\n\r\n1. During local development, users who have rbenv/rvm installed won't get errors if the specified .ruby-version is not installed\r\n1. During deployment, the latest default Ruby version specified by the [Ruby runtime](https://github.com/GoogleCloudPlatform/ruby-docker/tree/master/appengine) will be used, helping our end-to-end tests ensure that the latest version always works"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/getting-started-ruby/issues/comments/216836349","html_url":"https://github.com/GoogleCloudPlatform/getting-started-ruby/pull/46#issuecomment-216836349","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/getting-started-ruby/issues/46","id":216836349,"user":{"login":"remi","id":280,"avatar_url":"https://avatars.githubusercontent.com/u/280?v=3","gravatar_id":"","url":"https://api.github.com/users/remi","html_url":"https://github.com/remi","followers_url":"https://api.github.com/users/remi/followers","following_url":"https://api.github.com/users/remi/following{/other_user}","gists_url":"https://api.github.com/users/remi/gists{/gist_id}","starred_url":"https://api.github.com/users/remi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remi/subscriptions","organizations_url":"https://api.github.com/users/remi/orgs","repos_url":"https://api.github.com/users/remi/repos","events_url":"https://api.github.com/users/remi/events{/privacy}","received_events_url":"https://api.github.com/users/remi/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T11:44:38Z","updated_at":"2016-05-04T11:44:38Z","body":"Another variable to consider:\r\n\r\nWhen I, personally, `git clone` and `cd 1-hello-world` and then `bundle install`, I get:\r\n\r\n```\r\nrbenv: version `2.2.3' is not installed\r\n```\r\n\r\n *Ugh, I need to install 2.2.3... even though I have the latest stable version of Ruby...*\r\n\r\nI frequently find this annoying for working on the getting started flow locally.  Plus it means that we have to manually bump our .ruby-version.  Getting started should work with Ruby 2.1.* or 2.2.* or 2.3.* AFAIK.  Also, why did we choose the `2.2.*` series to pin our tutorial to instead of `2.3.*`, which is the default for `ruby-docker`?\r\n\r\nFor testing, deleting the `.ruby-version` before running tests isn't correct because then it will run the tests for the latest stable version (per ruby-docker) but *not* the frozen version.  So we would need to update our E2E tests to run against multiple versions.  (We do this for unit tests but it's a bit much for E2E)\r\n\r\nThis has only ever caused me grief.\r\n\r\nBut it is correct that we should lock the version if we're to treat this like a user-facing product (especially for the interactive cloud shell tutorial).  I can send a new pull to bump to 2.3.0 instead and we will try to bump getting started every time ruby-docker is bumped?  Thoughts?"}}