SyntaxFix
Write A Post
Hire A Developer
Questions
That is because of the new security function of OS X "El Capitan". Try adding --user-install instead of using sudo:
--user-install
$ gem install *** --user-install
For example, if you want to install fake3 just use:
$ gem install fake3 --user-install