{"action":"created","issue":{"url":"https://api.github.com/repos/yyuu/pyenv/issues/516","labels_url":"https://api.github.com/repos/yyuu/pyenv/issues/516/labels{/name}","comments_url":"https://api.github.com/repos/yyuu/pyenv/issues/516/comments","events_url":"https://api.github.com/repos/yyuu/pyenv/issues/516/events","html_url":"https://github.com/yyuu/pyenv/issues/516","id":124684881,"number":516,"title":"pyenv homebrew formula version 20151222 suggests incorrect setting for PYENV_ROOT","user":{"login":"ancientHacker","id":689661,"avatar_url":"https://avatars.githubusercontent.com/u/689661?v=3","gravatar_id":"","url":"https://api.github.com/users/ancientHacker","html_url":"https://github.com/ancientHacker","followers_url":"https://api.github.com/users/ancientHacker/followers","following_url":"https://api.github.com/users/ancientHacker/following{/other_user}","gists_url":"https://api.github.com/users/ancientHacker/gists{/gist_id}","starred_url":"https://api.github.com/users/ancientHacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancientHacker/subscriptions","organizations_url":"https://api.github.com/users/ancientHacker/orgs","repos_url":"https://api.github.com/users/ancientHacker/repos","events_url":"https://api.github.com/users/ancientHacker/events{/privacy}","received_events_url":"https://api.github.com/users/ancientHacker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-04T01:49:24Z","updated_at":"2016-01-04T10:09:39Z","closed_at":"2016-01-04T01:56:51Z","body":"The latest brew formula for pyenv (/usr/local/Cellar/pyenv/20151222) has the following advice in its info section:\r\n````\r\nTo use Homebrew's directories rather than ~/.pyenv add to your profile:\r\n  export PYENV_ROOT=/usr/local/var/pyenv\r\n````\r\nBut shouldn't that be `/usr/local/opt/pyenv` (note `opt` not `var`) as with all prior versions?"},"comment":{"url":"https://api.github.com/repos/yyuu/pyenv/issues/comments/168630600","html_url":"https://github.com/yyuu/pyenv/issues/516#issuecomment-168630600","issue_url":"https://api.github.com/repos/yyuu/pyenv/issues/516","id":168630600,"user":{"login":"yyuu","id":63651,"avatar_url":"https://avatars.githubusercontent.com/u/63651?v=3","gravatar_id":"","url":"https://api.github.com/users/yyuu","html_url":"https://github.com/yyuu","followers_url":"https://api.github.com/users/yyuu/followers","following_url":"https://api.github.com/users/yyuu/following{/other_user}","gists_url":"https://api.github.com/users/yyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/yyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyuu/subscriptions","organizations_url":"https://api.github.com/users/yyuu/orgs","repos_url":"https://api.github.com/users/yyuu/repos","events_url":"https://api.github.com/users/yyuu/events{/privacy}","received_events_url":"https://api.github.com/users/yyuu/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T10:09:39Z","updated_at":"2016-01-04T10:09:39Z","body":"You're right. PYENV_ROOT will be created automatically if it doesn't exist. IIRC, creating the 'versions' directory in the 'Cellar' directory could cause problem after formula update."}}