Skip to content

Instantly share code, notes, and snippets.

@pbm
Created February 8, 2011 19:52
Show Gist options
  • Save pbm/817067 to your computer and use it in GitHub Desktop.
Save pbm/817067 to your computer and use it in GitHub Desktop.
debug info added
# This file is used by Rack-based servers to start the application.
if defined? Maglev
Exception.install_debug_block do |e|
ts = e.to_s
nil.pause if ts =~ %r{.*Expected.*}
end
end
require ::File.expand_path('../config/environment', __FILE__)
run App::Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment