From owner-freebsd-ruby@FreeBSD.ORG Mon Dec 27 01:37:59 2010 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1381B1065674; Mon, 27 Dec 2010 01:37:59 +0000 (UTC) (envelope-from avl@logvinov.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 652418FC17; Mon, 27 Dec 2010 01:37:58 +0000 (UTC) Received: by gxk8 with SMTP id 8so3731688gxk.13 for ; Sun, 26 Dec 2010 17:37:57 -0800 (PST) Received: by 10.150.202.12 with SMTP id z12mr16295379ybf.110.1293413877821; Sun, 26 Dec 2010 17:37:57 -0800 (PST) Received: from incubus.bsd ([125.33.216.133]) by mx.google.com with ESMTPS id v39sm11599020yba.7.2010.12.26.17.37.55 (version=SSLv3 cipher=RC4-MD5); Sun, 26 Dec 2010 17:37:57 -0800 (PST) Message-ID: <4D17EE41.9050907@logvinov.com> Date: Mon, 27 Dec 2010 09:39:13 +0800 From: Alexander Logvinov User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.9.2.13) Gecko/20101225 Lightning/1.0b2 Thunderbird/3.1.7 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: Stanislav Sedov References: <4D177040.6020209@logvinov.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "ruby@freebsd.org" Subject: Re: RAKE_BIN and ruby19 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: Mon, 27 Dec 2010 01:37:59 -0000 Hi! On 27.12.2010 02:07 Stanislav Sedov wrote: >> -RAKE_BIN= ${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//} >> +RAKE_BIN= ${LOCALBASE}/bin/rake${RUBY_VER:S/.//} >> .endif >> .endif > This change was made because we had problems with old version of rake > bundled with ruby 1.9. That's why we made it to always install rake, even > for 1.9. Or was it rubygem? It doesn't install rubygem-rake anyway with RUBY_DEFAULT_VER=1.9. But portmaster wants it because of BUILD_DEPENDS. :) Also 1.9.2 provides a fresh 0.8.7 version of rake. > Why this is a promlem in any case? It seems that this path should point > to the right rake location for 1.9. With "RAKE_BIN= ${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//}" line I can't build www/rubygem-passenger: ===> Checking if www/rubygem-passenger 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 --no-rdoc /usr/ports/distfiles/rubygem/passenger-3.0.2.gem -- --build-args Successfully installed passenger-3.0.2 1 gem installed (cd /usr/local/lib/ruby/gems/1.9/gems/passenger-3.0.2 && lib/ruby/gems/1.9/gems/passenger-3.0.2/bin/rake19 nginx) lib/ruby/gems/1.9/gems/passenger-3.0.2/bin/rake19: not found *** Error code 127 Stop in /usr/ports/www/rubygem-passenger. *** Error code 1 -- Best regards, Alexander