update rails 4.0,ruby 2.1