bundle update mimemagicをした後に、以下のエラーが発生しました。
An error occurred while installing puma (4.3.3), and Bundler cannot continue. Make sure that `gem install puma -v '4.3.3' --source 'https://rubygems.org/'` succeeds before bundling.
解決法
% bundle config build.puma --with-cflags="-Wno-error=implicit-function-declaration"
↓
% bundle install
その後bundle installすると、上手く行きました。
bundle install --path vendor/bundle