Resolve an issue Warning: Running ‘gem pristine — all’ to regenerate your installed gemspecs…

Warning: Running `gem pristine --all` to regenerate your installed gemspecs (and deleting then reinstalling your bundle if you use bundle --path) will improve the startup performance of Spring.

If you encounter with error above when using “rails server” or “rails s” command

Try this command

sudo gem pristine — all

If the error still appear.
Try this command

sudo gem update — system

and then,

sudo gem pristine — all
Show your support

Clapping shows how much you appreciated KongToonArmy’s story.