{"action":"opened","issue":{"url":"https://api.github.com/repos/lewagon/setup/issues/64","repository_url":"https://api.github.com/repos/lewagon/setup","labels_url":"https://api.github.com/repos/lewagon/setup/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/lewagon/setup/issues/64/comments","events_url":"https://api.github.com/repos/lewagon/setup/issues/64/events","html_url":"https://github.com/lewagon/setup/issues/64","id":341599658,"node_id":"MDU6SXNzdWUzNDE1OTk2NTg=","number":64,"title":"$PATH rbenv zsh","user":{"login":"chachine","id":22210438,"node_id":"MDQ6VXNlcjIyMjEwNDM4","avatar_url":"https://avatars0.githubusercontent.com/u/22210438?v=4","gravatar_id":"","url":"https://api.github.com/users/chachine","html_url":"https://github.com/chachine","followers_url":"https://api.github.com/users/chachine/followers","following_url":"https://api.github.com/users/chachine/following{/other_user}","gists_url":"https://api.github.com/users/chachine/gists{/gist_id}","starred_url":"https://api.github.com/users/chachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chachine/subscriptions","organizations_url":"https://api.github.com/users/chachine/orgs","repos_url":"https://api.github.com/users/chachine/repos","events_url":"https://api.github.com/users/chachine/events{/privacy}","received_events_url":"https://api.github.com/users/chachine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-16T17:01:20Z","updated_at":"2018-07-16T17:01:20Z","closed_at":null,"author_association":"NONE","body":"Setup tutorial(rbenv part)  ask to run :`sudo apt-get install -y build-essential tklib zlib1g-dev libssl-dev libffi-dev libxml2 libxml2-dev libxslt1-dev libreadline-dev\r\nsudo apt-get clean\r\ngit clone https://github.com/rbenv/rbenv.git ~/.rbenv\r\ngit clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build\r\n`\r\nBut sometime Zsh dont update the $path to understand 'rbenv' which result in a 'command not found' error.\r\nTo manually reasign the $PATH you need to run : \r\n`$ echo 'export PATH=\"$HOME/.rbenv/bin:$PATH\"' >> ~/.zshenv\r\n$ echo 'eval \"$(rbenv init -)\"' >> ~/.zshenv\r\n$ echo 'source $HOME/.zshenv' >> ~/.zshrc\r\n$ exec $SHELL`"}}
{"actor":{"display_login":"chachine"}}