Update to Ruby 2.1.2 and Rails 4.0.8.