Installing Gems Error

What do I have to do to get permission to install gems in ANY directory ? This is the message I get : Kims-MBP:appliq Development$ gem install bcrypt ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory. What does is it mean and what do I have to do ?

Posted over 4 years ago by Kim Van Rompay
Posted over 4 years ago by Alex Yang

This error means that the permissions set on your computer don't allow you to install gems using this approach. Instead, I recommend that you use a tool like RVM (https://rvm.io/). You can read the instructions on their site, or take a look at the info explaining how to use RVM in the StackOverflow answer here:
http://stackoverflow.com/questions/2619695/gem-install-permission-problem

1