change dependency to rail ties ~> 4.0.0