From owner-freebsd-ruby@FreeBSD.ORG Tue Feb 9 04:28:52 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 840C21065672 for ; Tue, 9 Feb 2010 04:28:52 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 713C28FC12 for ; Tue, 9 Feb 2010 04:28:52 +0000 (UTC) Received: from [172.28.1.196] (174.79.184.239) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 8 Feb 2010 20:28:51 -0800 Message-ID: <4B70E480.4050900@p6m7g8.com> Date: Mon, 8 Feb 2010 23:28:48 -0500 From: "Philip M. Gollucci" Organization: P6 Web Applications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-ruby@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: 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 04:28:52 -0000 Hi, There are other issues with doing version updates to the ports in questions like moving to gemcutter or github from rubyforge and some don't have releases to even download which has been in my way mostly with hoe and rails. As for rake, rake and rack have wierd interactions with each other and rails. 1.9.1 is *not* actually GA yet though most ruby/rails devs would shudder to hear you say that. Personally, I'm open for suggestions around the mess. On 2/8/2010 10:57 PM, Aaron Gifford wrote: > 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 > _______________________________________________ > freebsd-ruby@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ruby > To unsubscribe, send any mail to "freebsd-ruby-unsubscribe@freebsd.org" -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Sr. System Admin, Ridecharge Inc. Consultant, P6M7G8 Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.