Updated ruby version and removed unused gems