Can't install Gems

software development

#1

I get an permission denied when I’m trying to install a new ruby Gem through SSH.

I tried doing sudo and I get this:

name is not in the sudoers file. This incident will be reported.


#2

Hi,

You won’t be able to run “sudo” because you aren’t super-user on the server. Installing gems in this way would change them for all other users on the server.

You have to set up your own gem environment in your home directory and install to there instead of system-wide. It’s a bit complicated, but there are articles online that explain how.