Update Ruby version and lock gems