Rails 4
rails s
or rails server
localhost
and will be listening on port 3000
http://localhost:3000
config/environments/production.rb
, set config.consider_all_request_local = false
public/
gem "exception_notification"
ExceptionNotifier.notify_exception(StandardError.new("Test exception"))