$ sudo update_rubygems
$ sudo gem update ERROR: Loading command: update (LoadError) dlopen(/Users/mssr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/x86_64-darwin13.0.2/openssl.bundle, 9): Symbol not found: _SSLv2_client_method Referenced from: /Users/mssr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/x86_64-darwin13.0.2/openssl.bundle Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib in /Users/mssr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/x86_64-darwin13.0.2/openssl.bundle - /Users/mssr/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/x86_64-darwin13.0.2/openssl.bundle ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass
$ rbenv install 2.1.2 $ rbenv global 2.1.2 $ gem update
Update & Upgrade
$ brew update $ brew upgrade
$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry and just ignore them. Thanks! Warning: Some directories in /usr/local/share/locale aren't writable. This can happen if you "sudo make install" software that isn't managed by Homebrew. If a brew tries to add locale information to one of these directories, then the install will fail during the link step. You should probably `chown` them: /usr/local/share/locale/da /usr/local/share/locale/da/LC_MESSAGES /usr/local/share/locale/fi /usr/local/share/locale/fi/LC_MESSAGES /usr/local/share/locale/ga /usr/local/share/locale/ga/LC_MESSAGES /usr/local/share/locale/id /usr/local/share/locale/id/LC_MESSAGES /usr/local/share/locale/nl /usr/local/share/locale/nl/LC_MESSAGES /usr/local/share/locale/pt_BR /usr/local/share/locale/pt_BR/LC_MESSAGES /usr/local/share/locale/ro /usr/local/share/locale/ro/LC_MESSAGES /usr/local/share/locale/rw /usr/local/share/locale/rw/LC_MESSAGES /usr/local/share/locale/sv /usr/local/share/locale/sv/LC_MESSAGES /usr/local/share/locale/tr /usr/local/share/locale/tr/LC_MESSAGES Warning: Unbrewed header files were found in /usr/local/include. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected header files: /usr/local/include/ansidecl.h /usr/local/include/bfd.h /usr/local/include/bfdlink.h /usr/local/include/dis-asm.h /usr/local/include/gdb/jit-reader.h /usr/local/include/symcat.h Warning: Unbrewed .la files were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected .la files: /usr/local/lib/libbfd.la /usr/local/lib/libopcodes.la Warning: Unbrewed static libraries were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected static libraries: /usr/local/lib/libbfd.a /usr/local/lib/libopcodes.a Warning: Some installed formula are missing dependencies. You should `brew install` the missing dependencies: brew install cairo glib gobject-introspection harfbuzz icu4c libffi libtool pango pixman Run `brew missing` for more details.
$ sudo chown -R $USER:admin /usr/local/share
$ brew install cairo glib gobject-introspection harfbuzz icu4c libffi libtool pango pixman