[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Raking Rubygems

Bil Kleb

4/6/2006 3:17:00 PM

So I'm finally getting around to learning how to package
a gem with rake, and I've found that in addition to Chad's
wonderful Pickaxe writeup, looking at other people's Rakefiles
has been a great help.

However, at least one question still lingers:

In Rake's Rakefile, I am puzzled by why lines 176-179 are
not replaced by s.rdoc_options=rd.options similar to
the way s.extra_rdoc_files=rd.rdoc_files is done on the
line before -- see

http://rubyforge.org/plugins/scmsvn/viewcvs.php/rake/Rakefile?annotate=1.73&...

Jim, in case you read this, there is a typo in the
the header comments -> "is may be"?

FWIW, it took me forever to figure out that I needed to use

rake package

to get rake to spit out all three types of packages I had
requested; Chad's Pickaxe writeup only has an explicit-
target example, so I was doing,

rake pkg/fUnit-0.0.1.gem
rake pkg/fUnit-0.0.1.tgz
rake pkg/fUnit-0.0.1.zip

If you want to take a look at my current Rakefile mess,
and offer patches, see

http://rubyforge.org/plugins/scmsvn/viewcvs.php/trunk/Rakefile?root=funit&v...

Thanks,
--
Bil
http://fun3d.lar...
2 Answers

Trans

4/6/2006 5:35:00 PM

0

To make life a bit easier you might like to know about Reap.

http://reap.rub...

Current version is still a little rough around the edges (I've recently
added 3 spanking new features) but most of those will be ironed out
soon. I use it all the time, so if you have any questions I'm readiy
available.

T.

Bil Kleb

4/6/2006 6:57:00 PM

0

Trans wrote:
> To make life a bit easier you might like to know about Reap.
>
> http://reap.rub...

Life so far hasn't been too hard, but I'll take a gander...

Thanks,
--
Bil
http://fun3d.lar...