Use Ruby 2.1.1 and Rails 4.0.4.