Skip to content

Commit

Permalink
Require the english library
Browse files Browse the repository at this point in the history
In order to reference the long-winded environment variables like LOAD_PATH and
ERROR_INFO we need to explicitly require the English library.

This will fix bugsnag's reporting, since reporting  without English
means that we're reporting ; by definition: not an error.
  • Loading branch information
Katrina Owen committed May 27, 2017
1 parent 2344f9d commit 02abc65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "English"

$LOAD_PATH.unshift File.expand_path("./..", __FILE__)
$LOAD_PATH.unshift File.expand_path("./../lib", __FILE__)

Expand Down

0 comments on commit 02abc65

Please sign in to comment.