Upgrade ruby and rails

https://www.pivotaltracker.com/story/show/70181972