I was messing with a gem in my ruby on rails and ended up deleting all the installed gems manually on my local machine while experimenting.
I tried to reinstall using `bundle` which did not help as it thinks that gems are already installed looking at the `Gemfile.lock` file.
After googling a little bit I found bundle install --force
to forcefully reinstall all of them.
Happy coding!