Moving to Ruby 2.1.1/Rails 4.0.5

Quick upgrade to later versions. bundle update without restrictions caused
login problems, so using this as an intermediate step.