I try to run gem pristine --all
and I keep getting this in the console.
when I run gem pristine --all
I get this:
Permission denie
I know this is an old case, I ran into an error like this recently and none of the solutions had helped. Here is how I fixed the issue.
I was receiving this error when running any 'gem' command:
Ignoring executable-hooks-1.3.2 because its extensions are not built.
What I had done prior to getting this error was upgraded my ruby with rvm
rvm upgrade 2.0.0 2.4.0
I fixed the issue by Uninstalling 2.4.0
rvm uninstall 2.4.0
Then Reinstalling it
rvm install 2.4.0
Problem fixed.
Update your RVM to > 1.26.11
or stable with:
rvm get stable
Taken from here.
For me, it was as simple as installing Bundler:
gem install bundler