You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)
Update: I now have a very detailed step-by-step tutorial for setting up a proper Ruby development environment on a Mac, including a Homebrew troubleshooting section with the most common issues people run into. Although my step-by-step tutorial is guaranteed to work, I also have a script that will save you a lot of time. My tutorial uses a … Read more