@hatabowyou 脊髄反射で確認せずにお知らせしちゃってすみませんが、export RAILS_ENV=production を実行してからそのままbundle installとかbundle exec rakeとかを実行したらどうなるでしょか?
Rails関連のコマンドがプロダクション用に実行されたり開発用(RAILS_ENV=development)に実行されたりちぐはぐになっている気がします。
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.