$ brew install rethinkdb ==> Downloading http://download.rethinkdb.com/dist/rethinkdb-1.5.0.tgz Already downloaded: /Library/Caches/Homebrew/rethinkdb-1.5.0.tgz ==> ./configure --prefix=/usr/local/Cellar/rethinkdb/1.5.0 --fetch protobuf --fetch protoc ==> make make: *** [build/release_clang_notcmalloc/rethinkdb_web_assets/js/reql_docs.json] Error 1 make: *** Deleting file `build/release_clang_notcmalloc/rethinkdb_web_assets/js/reql_docs.json' make: *** Waiting for unfinished jobs.... make: unlink: build/release_clang_notcmalloc/rethinkdb_web_assets/.: Invalid argument make: *** [make] Error 2 READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
The only thing Google brings up is a pastebin that someone else made who had the same problem, but with no way to contact them. So, I’m putting this message here for visibility. If anyone knows how to fix it, please say so in the comments ;).
UPDATE: The bug has been fixed in 1.5.1. Just do the following and you’ll be good to go:
$ brew update && brew install rethinkdb