Ruby 1.9 rake & hoe port troubles

Aaron Gifford astounding at
Tue Feb 9 03:57:06 UTC 2010

It looks like if you're running 1.9.1 as your default Ruby version in
ports, the devel/rubygem-hoe port will not install due to it depending
on a newer version of rake than is included with the 1.9.1 Ruby port,
nor can one build the 0.8.7 devel/rubygem-rake because it detects Ruby
1.9 and aborts with an IGNORE.

One can manually work around this by either commenting out the IGNORE
lines in the devel/rubygem-rake Makefile and installing the updated
version of rake that way, or by using 'gem install rake' instead,
bypassing the port system.  Then devel/rubygem-hoe will install.  But
this unfortunately breaks automated port building...  *sigh*

Any suggestions for getting things working without manual intervention?

Aaron out.


root at host:/usr/ports/devel/rubygem-hoe# make install
===>  Installing for rubygem-hoe-2.4.0
===>   rubygem-hoe-2.4.0 depends on package: rubygem-rubyforge>=1.3.1 - found
===>   rubygem-hoe-2.4.0 depends on file: /usr/local/bin/ruby19 - found
===>   rubygem-hoe-2.4.0 depends on file: /usr/local/bin/ruby19 - found
===>   Generating temporary packing list
===>  Checking if devel/rubygem-hoe already installed
/usr/bin/env  /usr/local/bin/gem19 install -l --no-update-sources
--no-ri --install-dir /usr/local/lib/ruby/gems/1.9
/var/ports/distfiles/rubygem/hoe-2.4.0.gem -- --build-args
ERROR:  Error installing /var/ports/distfiles/rubygem/hoe-2.4.0.gem:
        hoe requires rake (>= 0.8.7, runtime)
*** Error code 1

Stop in /usr/ports/devel/rubygem-hoe.
root at host:/usr/ports/devel/rubygem-hoe# cd ../rubygem-rake

root at host:/usr/ports/devel/rubygem-rake# make
===>  rubygem-rake-0.8.7 already included in ruby distribution.
*** Error code 1

Stop in /usr/ports/devel/rubygem-rake.

root at host:/usr/ports/devel/rubygem-rake# grep -2 IGNORE Makefile

.if ${RUBY_VER} == 1.9
IGNORE= already included in ruby distribution

More information about the freebsd-ruby mailing list