(Cocoapods) Sudoers File

Hey, I’m trying to install cocoapods for the app I wish to make. However when I punch in the line of code:

sudo gems install cocoapods

It asks me to enter my password, so I do that and I’m met with the following message:

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

What do I need to do to fix this so I can install cocoapods?

it probably means that you are not an “administator” account, is this a school computer or something? try asking the admin to install cocoapods for you instead