upgrade rails, and change permissions apparently