pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc

OBATA Akio wrote:
On Tue, 18 Mar 2008 22:16:30 +0900, Johnny C. Lam <> 

OBATA Akio wrote:
On Tue, 18 Mar 2008 15:14:31 +0900, Johnny C. Lam <> 

Log Message:
Allow for loading libraries installed as gems.  Bump PKGREVISION.
This mean all ruby script will have to "require rubygems"?
Not only packages in pkgsrc but also own ruby script using modules in pkgsrc.
Ruby scripts that use extensions that are installed as gems need to do
one of the following:

I know what I must to do.
Just it's a pain to do so...

That's true, but for your script to be portable across Ruby installations, you would have needed to to this anyway.

I think the benefits of more easily creating packages for Ruby extensions will outweigh this difficulty. In my spare time yesterday, I packaged at least a dozen useful Ruby projects (merb, camping, builder, markaby, etc.) that are distributed as gems. I'm hoping to see an explosion of Ruby project imports after the freeze is over, and really make Ruby more easy to use from pkgsrc for everyone.


        -- Johnny C. Lam

Home | Main Index | Thread Index | Old Index