Upgrade ruby, rails, fix cookie session overflow