Update version.rb

Rails 4 Compatiblity