fix mongrel workaround for rails 2.3.14

This commit is contained in:
Reinier Balt 2011-08-17 10:08:28 +02:00
parent fe1f67a8cf
commit ffd56ad958

View file

@ -1,6 +1,6 @@
# adapted from https://gist.github.com/471663 and https://rails.lighthouseapp.com/projects/8994/tickets/4690-mongrel-doesnt-work-with-rails-238
if Rails.version == '2.3.12' && Gem.available?('mongrel', '~>1.1.5') && self.class.const_defined?(:Mongrel)
if Rails.version == '2.3.14' && Gem.available?('mongrel', '~>1.1.5') && self.class.const_defined?(:Mongrel)
# Pulled right from latest rack. Old looked like this in 1.1.0 version.
#