I need to deploy a gem from a custom gem source to my ubuntu 12.04 servers that are managed by puppet. In the puppet class, I will put the command that adds our custom gem server to the gem sources, it's as easy as running gem sources -a <hostname or ip>.

The convention in our puppet library, when using execs, is to always put the name of the file that is created by the command, so the exec is not repeated redundantly, but I can't find which file on the system is created by this command.

1 Answer 1


The system wide gem sources are stored in /etc/gemrc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.