Changed required rails version to ~> 4.1.0