fixes issue with rails 4, version now instance of Gem::Version
Merge pull request #1 from slbug/master

rails 4 fix