Date: Mon, 8 Feb 2010 20:57:05 -0700 From: Aaron Gifford <astounding@gmail.com> To: freebsd-ruby@freebsd.org Subject: Ruby 1.9 rake & hoe port troubles Message-ID: <e58000751002081957v38548979jd7a64ffef1c03971@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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. EXAMPLE OUTPUT FROM MY SYSTEM: root@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@host:/usr/ports/devel/rubygem-hoe# cd ../rubygem-rake root@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@host:/usr/ports/devel/rubygem-rake# grep -2 IGNORE Makefile .if ${RUBY_VER} == 1.9 IGNORE= already included in ruby distribution .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e58000751002081957v38548979jd7a64ffef1c03971>