fixes issue with rails 4, version now instance of Gem::Version