Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   [ANN]RubyGems/RubyForge integration (http://www.velocityreviews.com/forums/t814951-ann-rubygems-rubyforge-integration.html)

Chad Fowler 06-03-2004 10:32 PM

[ANN]RubyGems/RubyForge integration
 
Hello all (please excuse if you get this post twice--email server
problems),

I wanted to let everyone know that yesterday, Rich and Tom from
Infoether setup a script on RubyForge (http://rubyforge.org) that will
automatically "install"
all new RubyGem files in the file release areas into the central
RubyGems
repository. So, if you create a new RubyGem and release it on
RubyForge,
within a few minutes, it will be available via the remote gem commands.

For example, when David H. H. released ActiveRecord 0.8.1 this morning,
he sent me an email asking me to copy it to the gem repository. I did
the
following to find that it was already available there:

[chad@ns1 chad]$ gem -R --search activerecord

*** REMOTE GEMS ***

...snip...
activerecord-0.8.0
Implements the ActiveRecord pattern for ORM.

activerecord-0.8.1
Implements the ActiveRecord pattern for ORM.

[chad@ns1 chad]$

-----

So, all you have to do is release the gem file on RubyForge, and the
Ruby community can
just do:

gem -Ri yourgem

...and it will automatically download and install your gem and its
dependencies.

Keep those gems coming!

Chad

What is RubyGems?
-----------------
RubyGems (http://rubygems.rubyforge.org) is an advanced package manager
for Ruby libraries and applications, similar in many ways to the Debian
apt system and to Perl's CPAN module. It expands on these systems in
that
it manages library versions and allows you to maintain multiple versions
of the same library (with automated dependency resolution).




Kaspar Schiess 06-04-2004 10:17 AM

Re: [ANN]RubyGems/RubyForge integration
 
Chad Fowler wrote:

> [snip snip]


Good work !

--
kaspar

semantics & semiotics
code manufacture

www.tua.ch/ruby




Richard Kilmer 06-04-2004 03:11 PM

Re: [ANN]RubyGems/RubyForge integration
 
Important additional note...you need to name the file with a .gem
extension...that is what gets copied over. When the gem builder builds
your gem it appends this extension...just leave it there and upload it
accordingly.

Thanks,

Rich

On Jun 3, 2004, at 6:32 PM, Chad Fowler wrote:

> I wanted to let everyone know that yesterday, Rich and Tom from
> Infoether setup a script on RubyForge (http://rubyforge.org) that will
> automatically "install"
> all new RubyGem files in the file release areas into the central
> RubyGems
> repository. So, if you create a new RubyGem and release it on
> RubyForge,
> within a few minutes, it will be available via the remote gem commands.





gabriele renzi 06-04-2004 04:59 PM

Re: [ANN]RubyGems/RubyForge integration
 
il Fri, 4 Jun 2004 07:32:48 +0900, Chad Fowler <chad@chadfowler.com>
ha scritto::

wonderful, thanks!


All times are GMT. The time now is 11:42 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57