On Fri, Nov 28, 2008 at 9:02 AM, Josh Susser <[EMAIL PROTECTED]> wrote:
> You can tell rubygems where to look for gems by adding a source.
>
>    ~> gem source -l
>    *** CURRENT SOURCES ***
>
>    http://gems.rubyforge.org
>    ~> gem source -a http://gems.github.com
>    http://gems.github.com added to sources
>    ~> gem source -l
>    *** CURRENT SOURCES ***
>
>    http://gems.rubyforge.org
>    http://gems.github.com

Ok, I wasn't aware of this new feature. So, it appears that I can add
a gem to github and if that gem has dependencies on gems at rubyforge,
someone could install it with the following:

% gem source -a http://gems.github.com
% sudo gem install some-githubgem

and rubygems will pull from github for some-githubgem and will pull
the other dependencies from rubyforge.

Is that right?



Thanks Josh.


-- 
Jim Freeze
_______________________________________________
Rubygems-developers mailing list
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to