use regex to check for ruby version when configuring passenger

this should make it a little bit more generic also for other ruby 2.x
versions
Merge pull request #2 from railslove/harden-passenger-check

use regex to check for ruby version when configuring passenger