Deleted the Gemfile.lock folder and edited the gemfile