mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-01 06:48:49 +01:00
Fix running Tracks on passenger.
The exception that Passenger threw was NoMethodError on the find_by_name method
This commit is contained in:
parent
6e20e374bb
commit
8fdbcedcba
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ def check_mongrel_around_115
|
|||
begin
|
||||
# Gem.available? is deprecated from rubygems 1.8.2
|
||||
Gem::Specification::find_by_name "mongrel", "~>1.1.5"
|
||||
rescue Gem::LoadError
|
||||
rescue
|
||||
if RUBY_VERSION[2] == "9"
|
||||
false
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue