David - Musings of an SRE

Better Errors not working over Vagrant

If you’re running the awesome better_errors over a vagrant environment and you’re wondering why on earth isn’t better_errors intercepting your exceptions.

You probably need to specify in your environments/development.rb to allow for your remote IP.

if defined? BetterErrors
  BetterErrors::Middleware.allow_ip! '192.168.178.0/24'
end

Source: Better_Errors Issue #210