{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/laptop/issues/359","labels_url":"https://api.github.com/repos/thoughtbot/laptop/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/laptop/issues/359/comments","events_url":"https://api.github.com/repos/thoughtbot/laptop/issues/359/events","html_url":"https://github.com/thoughtbot/laptop/issues/359","id":53993857,"number":359,"title":"script fails if ruby-build is not latest version","user":{"login":"AlJohri","id":2790092,"avatar_url":"https://avatars.githubusercontent.com/u/2790092?v=3","gravatar_id":"","url":"https://api.github.com/users/AlJohri","html_url":"https://github.com/AlJohri","followers_url":"https://api.github.com/users/AlJohri/followers","following_url":"https://api.github.com/users/AlJohri/following{/other_user}","gists_url":"https://api.github.com/users/AlJohri/gists{/gist_id}","starred_url":"https://api.github.com/users/AlJohri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlJohri/subscriptions","organizations_url":"https://api.github.com/users/AlJohri/orgs","repos_url":"https://api.github.com/users/AlJohri/repos","events_url":"https://api.github.com/users/AlJohri/events{/privacy}","received_events_url":"https://api.github.com/users/AlJohri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-11T14:57:35Z","updated_at":"2015-01-12T04:31:08Z","closed_at":null,"body":"I have an outdated version of ruby-build / rbenv installed. The script fails because \"brew_install_or_upgrade 'ruby-build'\" does not get called if the ```.rbenv``` folder exists.\r\n\r\nhttps://github.com/thoughtbot/laptop/blob/master/mac#L161\r\n\r\n```\r\nif [ ! -d \"$HOME/.rbenv\" ]; then\r\n  brew_install_or_upgrade 'rbenv'\r\n  brew_install_or_upgrade 'ruby-build'\r\n\r\n  # shellcheck disable=SC2016\r\n  append_to_zshrc 'eval \"$(rbenv init - zsh --no-rehash)\"' 1\r\nfi\r\n```"},"comment":{"url":"https://api.github.com/repos/thoughtbot/laptop/issues/comments/69529205","html_url":"https://github.com/thoughtbot/laptop/issues/359#issuecomment-69529205","issue_url":"https://api.github.com/repos/thoughtbot/laptop/issues/359","id":69529205,"user":{"login":"croaky","id":198,"avatar_url":"https://avatars.githubusercontent.com/u/198?v=3","gravatar_id":"","url":"https://api.github.com/users/croaky","html_url":"https://github.com/croaky","followers_url":"https://api.github.com/users/croaky/followers","following_url":"https://api.github.com/users/croaky/following{/other_user}","gists_url":"https://api.github.com/users/croaky/gists{/gist_id}","starred_url":"https://api.github.com/users/croaky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/croaky/subscriptions","organizations_url":"https://api.github.com/users/croaky/orgs","repos_url":"https://api.github.com/users/croaky/repos","events_url":"https://api.github.com/users/croaky/events{/privacy}","received_events_url":"https://api.github.com/users/croaky/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T04:31:08Z","updated_at":"2015-01-12T04:31:08Z","body":"Hmm, looking at the logic of that if statement, it also seems like we're also never upgrading `rbenv`?\r\n\r\nWhat do you think of https://github.com/thoughtbot/laptop/pull/362?"}}