{"action":"created","issue":{"url":"https://api.github.com/repos/calabash/install/issues/5","labels_url":"https://api.github.com/repos/calabash/install/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/calabash/install/issues/5/comments","events_url":"https://api.github.com/repos/calabash/install/issues/5/events","html_url":"https://github.com/calabash/install/issues/5","id":116720173,"number":5,"title":"Install script is incompatible with users who have a managed ruby environment","user":{"login":"jmoody","id":466104,"avatar_url":"https://avatars.githubusercontent.com/u/466104?v=3","gravatar_id":"","url":"https://api.github.com/users/jmoody","html_url":"https://github.com/jmoody","followers_url":"https://api.github.com/users/jmoody/followers","following_url":"https://api.github.com/users/jmoody/following{/other_user}","gists_url":"https://api.github.com/users/jmoody/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoody/subscriptions","organizations_url":"https://api.github.com/users/jmoody/orgs","repos_url":"https://api.github.com/users/jmoody/repos","events_url":"https://api.github.com/users/jmoody/events{/privacy}","received_events_url":"https://api.github.com/users/jmoody/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/calabash/install/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T07:57:58Z","updated_at":"2015-11-18T21:15:52Z","closed_at":null,"body":"The MacOS script recommends that users set or update their:\r\n\r\n```\r\nGEM_HOME\r\nGEM_PATH\r\nPATH\r\n```\r\n\r\nThis is not compatible with managed ruby environments; these changes will override their internal settings.\r\n\r\nThis script should fail fast if either of these are detected:\r\n\r\n1. rvm\r\n2. rbenv\r\n\r\nManaged users have a different install path; namely a Gemfile + bundler.\r\n\r\nIt might also be prudent to detect a $GEM_HOME or $GEM_PATH and install there assuming we have permission.\r\n\r\n@krukow @jraczak @TobiasRoikjer @sapieneptus "},"comment":{"url":"https://api.github.com/repos/calabash/install/issues/comments/157865625","html_url":"https://github.com/calabash/install/issues/5#issuecomment-157865625","issue_url":"https://api.github.com/repos/calabash/install/issues/5","id":157865625,"user":{"login":"topgenorth","id":10829,"avatar_url":"https://avatars.githubusercontent.com/u/10829?v=3","gravatar_id":"","url":"https://api.github.com/users/topgenorth","html_url":"https://github.com/topgenorth","followers_url":"https://api.github.com/users/topgenorth/followers","following_url":"https://api.github.com/users/topgenorth/following{/other_user}","gists_url":"https://api.github.com/users/topgenorth/gists{/gist_id}","starred_url":"https://api.github.com/users/topgenorth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topgenorth/subscriptions","organizations_url":"https://api.github.com/users/topgenorth/orgs","repos_url":"https://api.github.com/users/topgenorth/repos","events_url":"https://api.github.com/users/topgenorth/events{/privacy}","received_events_url":"https://api.github.com/users/topgenorth/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:15:52Z","updated_at":"2015-11-18T21:15:52Z","body":"We had a discussion about this in Sept 2015 via e-mail. The [rbenv project suggests](https://github.com/sstephenson/rbenv/issues/259) that having `GEM_HOME` or `GEM_PATH` set in your shell is \"...a bad idea.\".\r\n\r\n"}}