From owner-freebsd-ruby@FreeBSD.ORG Tue Feb 9 03:57:06 2010 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 369DC106566B for ; Tue, 9 Feb 2010 03:57:06 +0000 (UTC) (envelope-from astounding@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id ED88D8FC15 for ; Tue, 9 Feb 2010 03:57:05 +0000 (UTC) Received: by ywh29 with SMTP id 29so1257257ywh.13 for ; Mon, 08 Feb 2010 19:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=jP9Jg8teFMw8xxmWW9DBFRtgmTdfbPlR1R1LNYkqrp0=; b=KveM6dnpDeMYU0WVxYiB9b+qfRJp5VcvK9hQ9mGKOPKTbELRlUHDU3xPjEVrai519B prwpAKE9BWA8nwRSiDJXzipSbCFU6wclLH2BgdIGiOzFpbdBjyz7mDLQ9gljuk5sthfQ EIfwdR5czLrfCVtDQmNhFkVKTNqysCX+MElac= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=OOmaUqPKcuoRpZodJVb4R/W/3Pq/GVOwchbDH/jf7etMpEpqW3YPYj0Qtek//u37Du Q6kRelb1JyGI/1xq0ljNWBW4Z8oZudATbBvskVTQJ85e8p8d8PHjVAxzvZNvLwaC5DZq vma8T1w+00qEKoh8MsQFwfb8X4URWjAZrGBOA= MIME-Version: 1.0 Received: by 10.101.117.14 with SMTP id u14mr9647892anm.108.1265687825241; Mon, 08 Feb 2010 19:57:05 -0800 (PST) Date: Mon, 8 Feb 2010 20:57:05 -0700 Message-ID: From: Aaron Gifford To: freebsd-ruby@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Ruby 1.9 rake & hoe port troubles X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 03:57:06 -0000 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