{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4668","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4668/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4668/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4668/events","html_url":"https://github.com/ManageIQ/manageiq/pull/4668","id":109752137,"number":4668,"title":"Include ruby version in file","user":{"login":"sergio-ocon","id":7500590,"avatar_url":"https://avatars.githubusercontent.com/u/7500590?v=3","gravatar_id":"","url":"https://api.github.com/users/sergio-ocon","html_url":"https://github.com/sergio-ocon","followers_url":"https://api.github.com/users/sergio-ocon/followers","following_url":"https://api.github.com/users/sergio-ocon/following{/other_user}","gists_url":"https://api.github.com/users/sergio-ocon/gists{/gist_id}","starred_url":"https://api.github.com/users/sergio-ocon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergio-ocon/subscriptions","organizations_url":"https://api.github.com/users/sergio-ocon/orgs","repos_url":"https://api.github.com/users/sergio-ocon/repos","events_url":"https://api.github.com/users/sergio-ocon/events{/privacy}","received_events_url":"https://api.github.com/users/sergio-ocon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/core","name":"core","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-10-05T08:33:54Z","updated_at":"2015-10-06T16:41:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/4668","html_url":"https://github.com/ManageIQ/manageiq/pull/4668","diff_url":"https://github.com/ManageIQ/manageiq/pull/4668.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/4668.patch"},"body":"There has been some discussions about what version is used to compile the code. rbenv uses the file _.ruby-version_ to define local versions of ruby to use.\r\n\r\nAdding the file to the source code gives an easy method to know what version is used upstream for the code. Along with the Gemfile, it makes development environment easier, and changes in the ruby version will be noticed."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/145922864","html_url":"https://github.com/ManageIQ/manageiq/pull/4668#issuecomment-145922864","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4668","id":145922864,"user":{"login":"jrafanie","id":19339,"avatar_url":"https://avatars.githubusercontent.com/u/19339?v=3","gravatar_id":"","url":"https://api.github.com/users/jrafanie","html_url":"https://github.com/jrafanie","followers_url":"https://api.github.com/users/jrafanie/followers","following_url":"https://api.github.com/users/jrafanie/following{/other_user}","gists_url":"https://api.github.com/users/jrafanie/gists{/gist_id}","starred_url":"https://api.github.com/users/jrafanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrafanie/subscriptions","organizations_url":"https://api.github.com/users/jrafanie/orgs","repos_url":"https://api.github.com/users/jrafanie/repos","events_url":"https://api.github.com/users/jrafanie/events{/privacy}","received_events_url":"https://api.github.com/users/jrafanie/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T16:41:58Z","updated_at":"2015-10-06T16:41:58Z","body":"> That makes sense.... So can we add .ruby-version to .gitignore? ... it will make easier for me to use rbenv...\r\n\r\nYes, that sounds like a great idea to me, please open a new PR and close this one if that solves your problem."}}