• GitHub Loves RubyGems 1.2

    pjhyett 22 Jun 2008

    For the folks trying to install a RubyGem via GitHub prior to yesterday’s release, you’d get the all too familiar “Updating metadata for 563 gems…” every time.

    Well no more, thanks to a massive effort by Eric Hodel. Not only are the issues with adding multiple sources fixed, but the indexing has been fixed such that gem installs are basically instantaneous now.

    Do yourself a favor and run the following commands if you’re a Ruby guy/gal.

    $ sudo gem update --system
    $ gem sources -a <a href="http://gems.github.com">http://gems.github.com</a>
    

    You’re now able to install gems from GitHub directly without specifying the source, just like you would if you were installing them from RubyForge.

    $ sudo gem install defunkt-github
    

    That’s all there is to it, thanks Eric!

  • Comments

    mathie Sun Jun 22 09:31:14 -0700 2008

    Ooh, nice. And the sources are stored per-user in ~/.gemrc. Awesome!

    meekish Sun Jun 22 14:26:46 -0700 2008

    Awesome work, Eric. Thank you!

    holtonma Sun Jun 22 15:38:16 -0700 2008

    awesome. Hat’s off and many thanks to Eric! (p.s. Seattle.rb rules!)

    PhilGeek Sun Jun 22 18:37:07 -0700 2008

    hmm, just tried this, including installing defunkt-github, but running any of the github commands results in the following error:

    
    /usr/bin/github:19:in `load': no such file to load -- github (LoadError)
    	from /usr/bin/github:19
    
    

    grobie Wed Jul 30 15:05:41 -0700 2008

    I have the same problem like PhilGeek

    Please log in to comment.