{"action":"created","issue":{"url":"https://api.github.com/repos/rbenv/rbenv/issues/938","repository_url":"https://api.github.com/repos/rbenv/rbenv","labels_url":"https://api.github.com/repos/rbenv/rbenv/issues/938/labels{/name}","comments_url":"https://api.github.com/repos/rbenv/rbenv/issues/938/comments","events_url":"https://api.github.com/repos/rbenv/rbenv/issues/938/events","html_url":"https://github.com/rbenv/rbenv/issues/938","id":182216131,"number":938,"title":"You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory","user":{"login":"GuoZhiQiang","id":9813791,"avatar_url":"https://avatars.githubusercontent.com/u/9813791?v=3","gravatar_id":"","url":"https://api.github.com/users/GuoZhiQiang","html_url":"https://github.com/GuoZhiQiang","followers_url":"https://api.github.com/users/GuoZhiQiang/followers","following_url":"https://api.github.com/users/GuoZhiQiang/following{/other_user}","gists_url":"https://api.github.com/users/GuoZhiQiang/gists{/gist_id}","starred_url":"https://api.github.com/users/GuoZhiQiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuoZhiQiang/subscriptions","organizations_url":"https://api.github.com/users/GuoZhiQiang/orgs","repos_url":"https://api.github.com/users/GuoZhiQiang/repos","events_url":"https://api.github.com/users/GuoZhiQiang/events{/privacy}","received_events_url":"https://api.github.com/users/GuoZhiQiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-11T09:26:36Z","updated_at":"2016-10-11T13:20:51Z","closed_at":null,"body":"I have installed Hombrew .And have rbenv installed by `brew install rbenv`. But when i run `gem install bundler` ,it said : `You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory`. I want to install [Bundler](http://bundler.io/) to manage gems, but it failed. Maybe something wrong with me ,can you help me ?"},"comment":{"url":"https://api.github.com/repos/rbenv/rbenv/issues/comments/252914337","html_url":"https://github.com/rbenv/rbenv/issues/938#issuecomment-252914337","issue_url":"https://api.github.com/repos/rbenv/rbenv/issues/938","id":252914337,"user":{"login":"jeremy","id":199,"avatar_url":"https://avatars.githubusercontent.com/u/199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremy","html_url":"https://github.com/jeremy","followers_url":"https://api.github.com/users/jeremy/followers","following_url":"https://api.github.com/users/jeremy/following{/other_user}","gists_url":"https://api.github.com/users/jeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremy/subscriptions","organizations_url":"https://api.github.com/users/jeremy/orgs","repos_url":"https://api.github.com/users/jeremy/repos","events_url":"https://api.github.com/users/jeremy/events{/privacy}","received_events_url":"https://api.github.com/users/jeremy/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T13:20:51Z","updated_at":"2016-10-11T13:20:51Z","body":"```bash\r\n$ brew info rbenv | tail -7\r\n==> Caveats\r\nRbenv stores data under ~/.rbenv by default. If you absolutely need to\r\nstore everything under Homebrew's prefix, include this in your profile:\r\n  export RBENV_ROOT=/usr/local/var/rbenv\r\n\r\nTo enable shims and autocompletion, run this and follow the instructions:\r\n  rbenv init\r\n\r\n$ rbenv init\r\n# Load rbenv automatically by appending\r\n# the following to ~/.bash_profile:\r\n\r\neval \"$(rbenv init -)\"\r\n```\r\n\r\nEdit your `~/.bash_profile` and put `eval \"$(rbenv init -)\"` at the end 😊"}}
{"actor":{"display_login":"jeremy"}}