Update gemspec to railties ~> 4.0