cgore.comcgore@cgore.commicroblogblogphotosChristianitycryptographyjournalingoutdoorsmy master's thesisprogramming
Thinking Bicycle
Github @cgoreFacebook @cgoreInstagram @christopher.mark.gore

This website is copyright © 1995-2016 Christopher Mark Gore, all rights reserved. The content may not be copied or republished via any means, traditional or electronic, without express written permission of the author.

Chris Gore: Programming: Ruby: Adding Gem Sources

One of the nicest things about Ruby is the Ruby Gems installer system. It is similar to apt for Debian and Ubuntu, but available across all of the operating systems that Ruby is available on. It allows you to install software from a list of trusted sources, and this is the first problem most people will run into with it. In order to see what your current list of trusted sources is, in Ubuntu do:

gem sources

This will produce a list of all of the sites gem currently considers authoritative. To add a new one, do the following:

sudo gem sources -a

This will add to your list of sites. The ones you really want are: