Update to ruby 1.9 before updating to rails 4/ruby 2.1