How do I fix the “You don’t have write permissions into the /usr/bin directory” error when installing Rails?by tabtuon Posted on November 23, 2020November 23, 2020 use -n parameter to install like for cocoapods: sudo gem install cocoapods -n /usr/local/bin