update to rails 4.1 and ruby 2.1.2