Problem installing cocoa pods on my Desktop

I have been trying to install using the command ’ sudo gem install cocoapods ’. After entering the command, it asks for the password. I enter an administrator password and it replies Sorry, try again. Also, by the password, I see a sign of a key. Does it mean it is somehow locked? I wonder what could be the problem? I appreciate your help.

Thank you,


The key just means it won’t echo your key strokes. Make sure your Caps-lock isn’t on.