{"action":"created","issue":{"url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/issues/12","labels_url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/issues/12/comments","events_url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/issues/12/events","html_url":"https://github.com/chimericdream/Quasar-Development-VM/issues/12","id":85625465,"number":12,"title":"Make system default Ruby use 2.2","user":{"login":"chimericdream","id":198075,"avatar_url":"https://avatars.githubusercontent.com/u/198075?v=3","gravatar_id":"","url":"https://api.github.com/users/chimericdream","html_url":"https://github.com/chimericdream","followers_url":"https://api.github.com/users/chimericdream/followers","following_url":"https://api.github.com/users/chimericdream/following{/other_user}","gists_url":"https://api.github.com/users/chimericdream/gists{/gist_id}","starred_url":"https://api.github.com/users/chimericdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chimericdream/subscriptions","organizations_url":"https://api.github.com/users/chimericdream/orgs","repos_url":"https://api.github.com/users/chimericdream/repos","events_url":"https://api.github.com/users/chimericdream/events{/privacy}","received_events_url":"https://api.github.com/users/chimericdream/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/labels/enhancement","name":"enhancement","color":"80C0FF"},{"url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/labels/LOE:%20Medium","name":"LOE: Medium","color":"888888"},{"url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/labels/P3:%20Major","name":"P3: Major","color":"FFFF00"},{"url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/labels/planned","name":"planned","color":"20A020"}],"state":"open","locked":false,"assignee":{"login":"chimericdream","id":198075,"avatar_url":"https://avatars.githubusercontent.com/u/198075?v=3","gravatar_id":"","url":"https://api.github.com/users/chimericdream","html_url":"https://github.com/chimericdream","followers_url":"https://api.github.com/users/chimericdream/followers","following_url":"https://api.github.com/users/chimericdream/following{/other_user}","gists_url":"https://api.github.com/users/chimericdream/gists{/gist_id}","starred_url":"https://api.github.com/users/chimericdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chimericdream/subscriptions","organizations_url":"https://api.github.com/users/chimericdream/orgs","repos_url":"https://api.github.com/users/chimericdream/repos","events_url":"https://api.github.com/users/chimericdream/events{/privacy}","received_events_url":"https://api.github.com/users/chimericdream/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/milestones/2","html_url":"https://github.com/chimericdream/Quasar-Development-VM/milestones/2.0","labels_url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/milestones/2/labels","id":837410,"number":2,"title":"2.0","description":null,"creator":{"login":"chimericdream","id":198075,"avatar_url":"https://avatars.githubusercontent.com/u/198075?v=3","gravatar_id":"","url":"https://api.github.com/users/chimericdream","html_url":"https://github.com/chimericdream","followers_url":"https://api.github.com/users/chimericdream/followers","following_url":"https://api.github.com/users/chimericdream/following{/other_user}","gists_url":"https://api.github.com/users/chimericdream/gists{/gist_id}","starred_url":"https://api.github.com/users/chimericdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chimericdream/subscriptions","organizations_url":"https://api.github.com/users/chimericdream/orgs","repos_url":"https://api.github.com/users/chimericdream/repos","events_url":"https://api.github.com/users/chimericdream/events{/privacy}","received_events_url":"https://api.github.com/users/chimericdream/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":3,"state":"open","created_at":"2014-10-23T13:34:52Z","updated_at":"2015-06-05T20:24:57Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-05T20:24:57Z","updated_at":"2015-06-05T20:25:38Z","closed_at":null,"body":"Even though Vagrant uses rbenv to install 2.2, anything that uses `sudo` falls back to 1.9.3. The `rbenv-sudo` plugin doesn't seem to work in all cases. Make a shell script that does the following (or turn it into a recipe or something).\r\n\r\n```bash\r\ncd /opt\r\nsudo wget http://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz\r\nsudo tar -xzvf ruby-2.2.2.tar.gz\r\nsudo chown -R root: ruby-2.2.2\r\ncd ruby-2.2.2/\r\nsudo ./configure\r\nsudo make\r\nsudo make install\r\nsudo ruby -v\r\nsudo rm /opt/ruby-2.2.2.tar.gz\r\n```"},"comment":{"url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/issues/comments/109430124","html_url":"https://github.com/chimericdream/Quasar-Development-VM/issues/12#issuecomment-109430124","issue_url":"https://api.github.com/repos/chimericdream/Quasar-Development-VM/issues/12","id":109430124,"user":{"login":"chimericdream","id":198075,"avatar_url":"https://avatars.githubusercontent.com/u/198075?v=3","gravatar_id":"","url":"https://api.github.com/users/chimericdream","html_url":"https://github.com/chimericdream","followers_url":"https://api.github.com/users/chimericdream/followers","following_url":"https://api.github.com/users/chimericdream/following{/other_user}","gists_url":"https://api.github.com/users/chimericdream/gists{/gist_id}","starred_url":"https://api.github.com/users/chimericdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chimericdream/subscriptions","organizations_url":"https://api.github.com/users/chimericdream/orgs","repos_url":"https://api.github.com/users/chimericdream/repos","events_url":"https://api.github.com/users/chimericdream/events{/privacy}","received_events_url":"https://api.github.com/users/chimericdream/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T20:25:38Z","updated_at":"2015-06-05T20:25:38Z","body":"Instructions came from here (using the \"from source\" method): https://gorails.com/setup/ubuntu/14.04"}}