{"action":"created","issue":{"url":"https://api.github.com/repos/rbenv/rbenv/issues/886","repository_url":"https://api.github.com/repos/rbenv/rbenv","labels_url":"https://api.github.com/repos/rbenv/rbenv/issues/886/labels{/name}","comments_url":"https://api.github.com/repos/rbenv/rbenv/issues/886/comments","events_url":"https://api.github.com/repos/rbenv/rbenv/issues/886/events","html_url":"https://github.com/rbenv/rbenv/issues/886","id":142502104,"number":886,"title":"-bash: /usr/local/bin/rails: /usr/local/opt/ruby/bin/ruby: bad interpreter: No such file or directory","user":{"login":"sonnybrakes","id":5199169,"avatar_url":"https://avatars.githubusercontent.com/u/5199169?v=3","gravatar_id":"","url":"https://api.github.com/users/sonnybrakes","html_url":"https://github.com/sonnybrakes","followers_url":"https://api.github.com/users/sonnybrakes/followers","following_url":"https://api.github.com/users/sonnybrakes/following{/other_user}","gists_url":"https://api.github.com/users/sonnybrakes/gists{/gist_id}","starred_url":"https://api.github.com/users/sonnybrakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonnybrakes/subscriptions","organizations_url":"https://api.github.com/users/sonnybrakes/orgs","repos_url":"https://api.github.com/users/sonnybrakes/repos","events_url":"https://api.github.com/users/sonnybrakes/events{/privacy}","received_events_url":"https://api.github.com/users/sonnybrakes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-21T23:41:22Z","updated_at":"2016-03-22T03:58:55Z","closed_at":null,"body":"I tried to set up my Rails Dev Env.\r\nI was not successful.\r\nThese are the results:\r\n\r\ncommand: `$ xcode-select version` returns: `2343.`\r\ncommand: `$ rbenv version` returns: `rbenv 1.0.0`\r\ncommand: `$ rbenv global 2.2.1` set rbenv to *2.2.1\r\ncommand: `$ ruby -v` returns: `2.2.1p85`\r\nOkay so far...\r\n\r\ncommand: `$ gem install rails` returned: `Successfully installed rails-4.2.6`\r\ncommand: `$ rbenv rehash` after every command\r\ncommand: `$ rails new testapp` returns: `-bash: /usr/local/bin/rails: /usr/local/opt/ruby/bin/ruby: bad interpreter: No such file or directory`\r\nI think I have a problem.\r\n\r\ncommand: `$ git --version` returns: `git version 2.5.4`\r\nWhat might be going on and can I recover from such a fall?\r\n\r\nWhen I start the server and look at the url I see versions of rail there.\r\n\r\ncommand: `$ gem server`\r\nat the url localhost:8808 I see 3 gems versions of rails there: 4.2.4, 4.2.5, 4.2.6\r\n\r\nHow do I resolve this?\r\n\r\nI've posted on the Stack Overflow, but I haven't found a successful solution.\r\n\r\nI need help."},"comment":{"url":"https://api.github.com/repos/rbenv/rbenv/issues/comments/199628350","html_url":"https://github.com/rbenv/rbenv/issues/886#issuecomment-199628350","issue_url":"https://api.github.com/repos/rbenv/rbenv/issues/886","id":199628350,"user":{"login":"sonnybrakes","id":5199169,"avatar_url":"https://avatars.githubusercontent.com/u/5199169?v=3","gravatar_id":"","url":"https://api.github.com/users/sonnybrakes","html_url":"https://github.com/sonnybrakes","followers_url":"https://api.github.com/users/sonnybrakes/followers","following_url":"https://api.github.com/users/sonnybrakes/following{/other_user}","gists_url":"https://api.github.com/users/sonnybrakes/gists{/gist_id}","starred_url":"https://api.github.com/users/sonnybrakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonnybrakes/subscriptions","organizations_url":"https://api.github.com/users/sonnybrakes/orgs","repos_url":"https://api.github.com/users/sonnybrakes/repos","events_url":"https://api.github.com/users/sonnybrakes/events{/privacy}","received_events_url":"https://api.github.com/users/sonnybrakes/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T03:58:55Z","updated_at":"2016-03-22T03:58:55Z","body":"How do I do that?"}}