update to ruby 2.1.3 and rails 4.1.6