ruby 1.9 update patch

Stanislav Sedov stas at FreeBSD.org
Thu May 26 04:27:32 UTC 2011


On Wed, 25 May 2011 07:54:21 -0400
Steve Wills <steve at mouf.net> mentioned:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Thanks for the feedback!
> 
> I was attempting to do some run time testing of this and stumbled upon a
> strange issue. It seems that even without my patch (and with it too), if
> you do this:
> 
> cd /usr/ports/databases/ruby-bdb
> env RUBY_VER=1.9 make install
> 
> on a system without any ruby, it will install Ruby 1.9, then fail to
> install the databases/ruby-bdb port since there will not be a "rdoc"
> binary installed, but only "rdoc19". My patch doesn't make this worse,
> but it doesn't help it either. Should I try to solve this and if so how?

It should use ${RUBY_RDOC} instead of just calling rdoc directly.
This way it will get the correct one.

-- 
Stanislav Sedov
ST4096-RIPE

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


More information about the freebsd-ruby mailing list