Fixing Homebrew permissions when using ASDF
Ruby Gem management with ASDF-VM sometimes encounters issues with permissions when using bundler to manage gems. I haven’t gotten to the root-cause, but this snippet helps in fixing the permissions.
sudo chown -R $(whoami) $(brew --prefix)/*
Original post on Stackoverflow