rebuild and fix Gemfile.lock