$ docker-compose up
Even if I type the command, the normal error screen is displayed.
config/enviroments/development.rb
if Rails.env.development?
BetterErrors::Middleware.allow_ip! "0.0.0.0/0"
end
Add this code. BetterErrors seems to be used only in development! So set the condition with env!
that's all. .. ..
Recommended Posts