==> Installing cider from homebrew/emacs
==> Using the sandbox
/usr/bin/sandbox-exec -f /tmp/homebrew20160423-46803-hlb7vs.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I /usr/local/Library/Homebrew -- /usr/local/Library/Homebrew/build.rb /usr/local/Library/Taps/homebrew/homebrew-emacs/Formula/cider.rb --verbose
==> Sandbox log
Apr 23 13:24:27 sandboxd[139]: ruby(46805) deny file-write-create /usr/local/opt/emacs
Error: /usr/local/opt/emacs not present or broken
Please reinstall emacs. Sorry :(