Update Rails 4 version regex.
Merge pull request #3 from h3h/bf/rails4-regex-fix

Update Rails 4 version regex.