mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
Update the mongrel workaround to use any Rails version > 2.3.8
This commit is contained in:
parent
68928e273d
commit
18af9d7a23
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ end
|
|||
|
||||
mongrel115 = check_mongrel_around_115
|
||||
|
||||
if Rails.version == '2.3.15' && mongrel115 && self.class.const_defined?(:Mongrel)
|
||||
if Gem::Version.new(Rails.version) >= Gem::Version.new('2.3.8') && mongrel115 && self.class.const_defined?(:Mongrel)
|
||||
|
||||
# Pulled right from latest rack. Old looked like this in 1.1.0 version.
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue