I did a bundle show
and get the complete path to a gem directory.
Unfortunately, I removed the directory using rm -r gem_path
. Then my rails ap
If you're trying to reinstall rake, gem pristine rake
will fail with Skipped rake-10.X.X, it is a default gem
and bundle won't install it either, because it can't uninstall it.
If you're using rvm, it seems the easiest was is simply to do a rvm reinstall 2.x.x
. At least for me, rvm repair all
also didn't help.
The same probably goes for all other default gems. I'll just list them here so that the desperate googlers find some help: