PROBLEM:
Was trying to brew install opentsdb
from CLI, but got:
Errno::EACCES: Permission denied - /Users/stuarthannig/.irb-history
initialize at org/jruby/RubyFile.java:478
open at org/jruby/RubyIO.java:1135
(root) at /Users/stuarthannig/.rvm/scripts/irbrc.rb:32
call at org/jruby/RubyProc.java:270
call at org/jruby/RubyProc.java:224
Couldn't find any solutions upon searching the Internet. I did see that Homebrew was installing in a sandbox, and thought potentially that could lead to a permissions issue.
SOLUTION:
Run brew install opentsdb --no-sandbox
for SUCCESS!
Hope this helps anyone out there avoid going down the rabbit hole.