{"action":"opened","issue":{"url":"https://api.github.com/repos/rbenv/rbenv/issues/1106","repository_url":"https://api.github.com/repos/rbenv/rbenv","labels_url":"https://api.github.com/repos/rbenv/rbenv/issues/1106/labels{/name}","comments_url":"https://api.github.com/repos/rbenv/rbenv/issues/1106/comments","events_url":"https://api.github.com/repos/rbenv/rbenv/issues/1106/events","html_url":"https://github.com/rbenv/rbenv/issues/1106","id":343427261,"node_id":"MDU6SXNzdWUzNDM0MjcyNjE=","number":1106,"title":"Rails is not currently installed on this system - High Sierra","user":{"login":"wonderphil","id":1829205,"node_id":"MDQ6VXNlcjE4MjkyMDU=","avatar_url":"https://avatars3.githubusercontent.com/u/1829205?v=4","gravatar_id":"","url":"https://api.github.com/users/wonderphil","html_url":"https://github.com/wonderphil","followers_url":"https://api.github.com/users/wonderphil/followers","following_url":"https://api.github.com/users/wonderphil/following{/other_user}","gists_url":"https://api.github.com/users/wonderphil/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderphil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderphil/subscriptions","organizations_url":"https://api.github.com/users/wonderphil/orgs","repos_url":"https://api.github.com/users/wonderphil/repos","events_url":"https://api.github.com/users/wonderphil/events{/privacy}","received_events_url":"https://api.github.com/users/wonderphil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-22T18:19:46Z","updated_at":"2018-07-22T18:19:46Z","closed_at":null,"author_association":"NONE","body":"Hi guys,\r\n\r\nTo start I follow the exact steps from [Setup Ruby On Rails on\r\nmacOS 10.13 High Sierra](https://gorails.com/setup/osx/10.13-high-sierra), just like I have with every other version of mac/ubuntu.\r\n\r\nSo basically install homebrew, install rbenv ruby-build\r\n\r\nadd the following to bash profile and source it:\r\n\r\n`if which rbenv > /dev/null; then eval \"$(rbenv init -)\"; fi`\r\n\r\nthen do\r\n\r\n    rbenv install 2.5.1\r\n    rbenv global 2.5.1\r\n    ruby -v\r\n\r\noutputs:\r\n\r\n    ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]\r\n\r\n\r\ndo a which ruby to to make sure:\r\n\r\n    /Users/pdavies/.rbenv/shims/ruby\r\n\r\nrun gem install \r\n\r\n    gem install rails -v 5.2.0\r\n\r\nwhich outputs:\r\n\r\n    Successfully installed rails-5.2.0\r\n    Parsing documentation for rails-5.2.0\r\n    Done installing documentation for rails after 0 seconds\r\n    1 gem installed\r\n\r\nthen a rehash and check version:\r\n\r\n    rbenv rehash\r\n    rails -v\r\n\r\noutputs:\r\n\r\n    \r\n\r\n> Rails is not currently installed on this system. To get the latest version, simply type:\r\n>    $ sudo gem install rails\r\n> You can then rerun your \"rails\" command.\r\n\r\nfound anther issue that suggested adding:\r\n\r\n    export PATH=\"$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH\"\r\n    eval \"$(rbenv init -)\"\r\n\r\nto the bash profile, did that sourced it and tried again still nothing.  to check the output of `echo $PATH` was:\r\n\r\n    /Users/pdavies/.rbenv/shims:/Users/pdavies/.rbenv/bin:/Users/pdavies/.rbenv/shims:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin\r\n\r\nJust to make sure i also did which gem incase i wasnt using the right one, output:\r\n\r\n    /Users/pdavies/.rbenv/shims/gem\r\n\r\nwhen I do a which rails i get:\r\n\r\n    /usr/bin/rails\r\n\r\nI found some blog that said to delete that, but I cant seem to do that either, i just get:\r\n\r\n    sudo rm -f /usr/bin/rails\r\n    Password:\r\n    rm: /usr/bin/rails: Operation not permitted\r\n\r\nThis is a fresh install of OSX and the only way I can get it work is to downgrade the version of OSX that is installed, which is a pain in the ass!\r\n\r\nAny help would be greatful \r\n\r\nThanks\r\n"}}
{"actor":{"display_login":"wonderphil"}}