gem install xcpretty
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
Kindly have a glance over latest videos, we have explained about the same
For your issue, you need to get admin access for your MAC
Try to follow the following steps:
1. Open terminal
2. Enter modify your install step as: sudo gem install xcpretty
3. Please enter the password when it prompts
Hope it helps!