{"action":"created","issue":{"url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1193","repository_url":"https://api.github.com/repos/rubygems/rubygems.org","labels_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1193/labels{/name}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1193/comments","events_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1193/events","html_url":"https://github.com/rubygems/rubygems.org/pull/1193","id":133076012,"number":1193,"title":"Add Brewfile to centralize OS X environment dependencies","user":{"login":"olivierlacan","id":65950,"avatar_url":"https://avatars.githubusercontent.com/u/65950?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierlacan","html_url":"https://github.com/olivierlacan","followers_url":"https://api.github.com/users/olivierlacan/followers","following_url":"https://api.github.com/users/olivierlacan/following{/other_user}","gists_url":"https://api.github.com/users/olivierlacan/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlacan/subscriptions","organizations_url":"https://api.github.com/users/olivierlacan/orgs","repos_url":"https://api.github.com/users/olivierlacan/repos","events_url":"https://api.github.com/users/olivierlacan/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlacan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-11T20:06:42Z","updated_at":"2016-02-11T20:11:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1193","html_url":"https://github.com/rubygems/rubygems.org/pull/1193","diff_url":"https://github.com/rubygems/rubygems.org/pull/1193.diff","patch_url":"https://github.com/rubygems/rubygems.org/pull/1193.patch"},"body":"This is an idea. It's not perfect but I'm working on a talk to show people how to setup RubyGems.org locally and I noticed that almost every single line of the OS X environment setup included a Homebrew installation instruction:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/65950/12988901/e1f58fc4-d0d0-11e5-8013-593d5700c7a6.png)\r\n\r\nThere are more details about Brewfile here: https://robots.thoughtbot.com/brewfile-a-gemfile-but-for-homebrew\r\n\r\nIt does require people to tap homebrew/bundle before they can run `brew bundle`:\r\n\r\n```\r\nbrew tap homebrew/bundle\r\nbrew bundle\r\n```\r\n\r\nI updated the environment setup instruction accordingly:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/65950/12989011/4ffd1cee-d0d1-11e5-8bfb-66edda9846b9.png)\r\n\r\n**Important note**: I don't know what `brew install redis -H` (the `-H` part) does specifically. This is the achilles heel of this PR since I don't think Brewfile can support it."},"comment":{"url":"https://api.github.com/repos/rubygems/rubygems.org/issues/comments/183044687","html_url":"https://github.com/rubygems/rubygems.org/pull/1193#issuecomment-183044687","issue_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1193","id":183044687,"user":{"login":"simi","id":193936,"avatar_url":"https://avatars.githubusercontent.com/u/193936?v=3","gravatar_id":"","url":"https://api.github.com/users/simi","html_url":"https://github.com/simi","followers_url":"https://api.github.com/users/simi/followers","following_url":"https://api.github.com/users/simi/following{/other_user}","gists_url":"https://api.github.com/users/simi/gists{/gist_id}","starred_url":"https://api.github.com/users/simi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simi/subscriptions","organizations_url":"https://api.github.com/users/simi/orgs","repos_url":"https://api.github.com/users/simi/repos","events_url":"https://api.github.com/users/simi/events{/privacy}","received_events_url":"https://api.github.com/users/simi/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T20:11:09Z","updated_at":"2016-02-11T20:11:09Z","body":"1. I think you've added some another things by mistake related to dependencies.\r\n2. Why https://github.com/rubygems/rubygems.org/blob/master/CONTRIBUTING.md#environment-os-x entry is not enough (brew install redis, ...)? I think it is not good idea to add some system specific file for every system (think about with same argument we can add Dockerfile, docker-compose.yml, Vagrantfile, Cheffile, ...).\r\n\r\nPS: Also there's a mistake in OSX hints. You can't use MySQL with this codebase anymore."}}