Permalink
Browse files

Enable hubble for top secret something something.

Sorry, can't tell.
  • Loading branch information...
1 parent 926cd45 commit 736f218498fbdecd44e9054d2acd99f5c27927be @roidrage roidrage committed Feb 7, 2012
Showing with 6 additions and 0 deletions.
  1. +1 −0 Gemfile
  2. +5 −0 config/environments/production.rb
View
1 Gemfile
@@ -19,6 +19,7 @@ gem 'roadie'
gem 'rdiscount'
gem 'postmark-rails'
gem 'pusher'
+gem 'hubble'
group :deployment do
gem 'thin'
View
5 config/environments/production.rb
@@ -61,4 +61,9 @@
# Force SSL usage
require 'rack/ssl'
config.middleware.use 'Rack::SSL'
+
+ require 'hubble'
+ require 'hubble/middleware'
+ Hubble.setup
+ config.middleware.use "Hubble::Rescuer"
end

0 comments on commit 736f218

Please sign in to comment.