{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/44744","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44744/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44744/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44744/events","html_url":"https://github.com/Homebrew/homebrew/issues/44744","id":110496893,"number":44744,"title":"brew doctor errors on El Capitan","user":{"login":"lemsx1","id":359878,"avatar_url":"https://avatars.githubusercontent.com/u/359878?v=3","gravatar_id":"","url":"https://api.github.com/users/lemsx1","html_url":"https://github.com/lemsx1","followers_url":"https://api.github.com/users/lemsx1/followers","following_url":"https://api.github.com/users/lemsx1/following{/other_user}","gists_url":"https://api.github.com/users/lemsx1/gists{/gist_id}","starred_url":"https://api.github.com/users/lemsx1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemsx1/subscriptions","organizations_url":"https://api.github.com/users/lemsx1/orgs","repos_url":"https://api.github.com/users/lemsx1/repos","events_url":"https://api.github.com/users/lemsx1/events{/privacy}","received_events_url":"https://api.github.com/users/lemsx1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-08T16:51:50Z","updated_at":"2015-10-09T03:20:21Z","closed_at":null,"body":"Looks like the problem is when using the system's ruby for `brew doctor`\r\n\r\n```\r\n$> brew config\r\nHOMEBREW_VERSION: 0.9.5\r\nORIGIN: https://github.com/Homebrew/homebrew\r\nHEAD: b33f04a1d034e0258352dbd8ad3d53783b7f4585\r\nLast commit: 16 minutes ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_REPOSITORY: /usr/local\r\nHOMEBREW_CELLAR: /usr/local/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com\r\nCPU: 8-core 64-bit haswell\r\nOS X: 10.11-x86_64\r\nXcode: 7.0.1\r\nCLT: 7.0.0.0.1.1441394355\r\nClang: 7.0 build 700\r\nX11: 2.7.7 => /opt/X11\r\nSystem Ruby: 2.0.0-p645\r\nPerl: /usr/bin/perl\r\nPython: /usr/bin/python\r\nRuby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.2.3/bin/ruby\r\nJava: 1.8.0_60\r\n```\r\n```\r\n$> brew doctor\r\nError: invalid byte sequence in US-ASCII\r\nPlease report this bug:\r\n    https://git.io/brew-troubleshooting\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:45:in `=~'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:45:in `chop_basename'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:341:in `plus'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:334:in `+'\r\n/usr/local/Library/Homebrew/extend/pathname.rb:315:in `resolved_path_exists?'\r\n/usr/local/Library/Homebrew/cmd/doctor.rb:231:in `block (2 levels) in check_for_broken_symlinks'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:546:in `block in find'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/find.rb:43:in `block in find'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/find.rb:42:in `catch'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/find.rb:42:in `find'\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:546:in `find'\r\n/usr/local/Library/Homebrew/cmd/doctor.rb:230:in `block in check_for_broken_symlinks'\r\n/usr/local/Library/Homebrew/cmd/doctor.rb:228:in `each'\r\n/usr/local/Library/Homebrew/cmd/doctor.rb:228:in `check_for_broken_symlinks'\r\n/usr/local/Library/Homebrew/cmd/doctor.rb:1287:in `block in doctor'\r\n/usr/local/Library/Homebrew/cmd/doctor.rb:1285:in `each'\r\n/usr/local/Library/Homebrew/cmd/doctor.rb:1285:in `doctor'\r\n/usr/local/Library/brew.rb:133:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/146745369","html_url":"https://github.com/Homebrew/homebrew/issues/44744#issuecomment-146745369","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44744","id":146745369,"user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T03:20:21Z","updated_at":"2015-10-09T03:20:21Z","body":"What are your `LANG=` and `LC_ALL=` variables set as?"}}