Since Rails 4 .version returns a Gem::Version

We convert it `to_s` to be compatible with both <4 and >=4