Update to Ruby 2.2 and Rails 4.2.