Up gems, fix sessions, relax production dependency