Skip to content

Commit 9dc1ffc

Browse files
committed
Extracted workaround for ruby-openid and passenger into initializer file.
1 parent e00a5b9 commit 9dc1ffc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

config/environment.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,3 @@ def theme_file(filename)
132132
require 'rails_cache_configurator'
133133
RailsCacheConfigurator.apply(config)
134134
end
135-
136-
137-
# Workaround to make ruby-openid work with Passenger, because these two don't always cooperate.
138-
# http://groups.google.com/group/phusion-passenger/browse_thread/thread/30b8996f8a1b11f0/ba4cc76a5a08c37d? @@@ hl=en&lnk=gst&q=openid#ba4cc76a5a08c37d
139-
OpenID::Util.logger = RAILS_DEFAULT_LOGGER
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Workaround to make ruby-openid work with Passenger, because these two don't always cooperate.
2+
# http://groups.google.com/group/phusion-passenger/browse_thread/thread/30b8996f8a1b11f0/ba4cc76a5a08c37d? @@@ hl=en&lnk=gst&q=openid#ba4cc76a5a08c37d
3+
OpenID::Util.logger = RAILS_DEFAULT_LOGGER

0 commit comments

Comments
 (0)