exceptional 2.0.13 → 2.0.14
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ module Exceptional
|
|
14
14
|
'env' => extract_environment(ENV),
|
15
15
|
'host' => get_hostname,
|
16
16
|
'run_as_user' => get_username,
|
17
|
-
'application_root_directory' => application_root.force_encoding("UTF-8"),
|
17
|
+
'application_root_directory' => (application_root.to_s.respond_to?(:force_encoding) ? application_root.to_s.force_encoding("UTF-8") : application_root),
|
18
18
|
'language' => 'ruby',
|
19
19
|
'language_version' => language_version_string,
|
20
20
|
'framework' => framework,
|
data/lib/exceptional/version.rb
CHANGED