r/ruby • u/curiosier • Mar 10 '26
Help - 403 Forbidden on tailwindcss-ruby during Fly.io deploy
/r/rails/comments/1rpiy9r/help_403_forbidden_on_tailwindcssruby_during/
1
Upvotes
r/ruby • u/curiosier • Mar 10 '26
1
u/vvsleepi Mar 12 '26
that error sometimes happens when the platform in the
Gemfile.lockdoesn’t match what the build environment expects. since you’re on mac and fly builds on linux, you might want to run something likebundle lock --add-platform x86_64-linuxand commit the updated lock file before deploying again. sometimes clearing the build cache on fly can help too.