Update to ruby 2.1.2 and rails 4.1.0