I try to run gem pristine --all and I keep getting this in the console.
gem pristine --all
when I run gem pristine --all I get this:
Permission denie
For me, it was as simple as installing Bundler:
gem install bundler