Use ruby 2.1.4 and upgrade to rails 4.1.7