Fix unicorn_rails compatibility with the latest Rails 3 code
commit37e264d7e132969e1faf87247e66abf909cedf29
authorHongli Lai (Phusion) <hongli@phusion.nl>
Tue, 8 Jun 2010 11:22:25 +0000 (8 13:22 +0200)
committerEric Wong <normalperson@yhbt.net>
Tue, 8 Jun 2010 19:23:03 +0000 (8 19:23 +0000)
treed8b362e32d176191cc4909dd809a5c212fbae5e0
parentac0033c74c7477d5fe13bd95df4e704b9544a9ae
Fix unicorn_rails compatibility with the latest Rails 3 code

This allows us to properly detect Rails 3 installations
in cases where config.ru is not present.

[ew: expanded commit message
 fixed static file serving,
 more flexible regexp for matching module ]

ref: mid.gmane.org/AANLkTiksBxIo_PFWoiPTWi1entXZRb7D2uE-Rl7H3lbw@mail.gmail.com
Acked-by: Eric Wong <normalperson@yhbt.net>
bin/unicorn_rails