Cannot find the tailwindcss executable for x86_64-darwin-21

  1. Try add platform as the tips:
bundle lock --add-platform x86_64-darwin-21
bundle install
  1. Try unset force_ruby_platform
bundle config unset force_ruby_platform
# or
bundle config set --local force_ruby_platform false

bundle install

More information: https://github.com/rails/tailwindcss-rails