Don't trow errors in rails 4 when checking version.
Merge pull request #8 from alex-ross/master

Enable gem to work with Rails 4.