the industrial

都内で働くITエンジニアの日記

better_errors and binding_of_caller not working in a Docker container

solution

create config/initializers/better_errors.rb

if Rails.env.development?
  BetterErrors::Middleware.allow_ip! '0.0.0.0/0'
end
  • this entry is just memo for me.