mac使用brew安装redis报错
✘ xxx@XX-Pro ~ brew install redis
Error: redis: Calling `cellar` in a bottle block is disabled! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/redis.rb:15
根据报错提示,使用修复命令进行修复
✘ xxx@XX-Pro ~ brew style --fix /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
然后就自动开始安装&开始修复了,等待结束即可
==> Installing 'bundler' gem
Fetching bundler-1.17.3.gem
Fetching gem metadata from https://rubygems.org/.........
Fetching zeitwerk 2.4.2
Fetching concurrent-ruby 1.1.9
Fetching minitest 5.14.4
Installing zeitwerk 2.4.2
Fetching public_suffix 4.0.6
Installing minitest 5.14.4
Fetching ast 2.4.2
......