From owner-freebsd-ruby@FreeBSD.ORG Sun Dec 26 18:07:57 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 47AB5106566B for ; Sun, 26 Dec 2010 18:07:57 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id B62C58FC08 for ; Sun, 26 Dec 2010 18:07:56 +0000 (UTC) Received: from [10.78.158.180] (unknown [166.205.138.221]) by mx0.deglitch.com (Postfix) with ESMTPSA id 0C1348FC2B; Sun, 26 Dec 2010 21:07:47 +0300 (MSK) References: <4D177040.6020209@logvinov.com> In-Reply-To: <4D177040.6020209@logvinov.com> Mime-Version: 1.0 (iPad Mail 8C148) Message-Id: X-Mailer: iPad Mail (8C148) From: Stanislav Sedov Date: Sun, 26 Dec 2010 10:07:32 -0800 To: Alexander Logvinov Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Sun, 26 Dec 2010 18:07:57 -0000 On Dec 26, 2010, at 8:41 AM, Alexander Logvinov wrote: > Hi! >=20 > It seems this a typo: >=20 > --- bsd.ruby.mk 22 Nov 2010 05:47:07 -0000 1.203 > +++ bsd.ruby.mk 26 Dec 2010 16:32:33 -0000 > @@ -551,7 +551,7 @@ > .if ${RUBY_VER} =3D=3D 1.8 > RAKE_BIN=3D ${LOCALBASE}/bin/rake > .else > -RAKE_BIN=3D ${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//} > +RAKE_BIN=3D ${LOCALBASE}/bin/rake${RUBY_VER:S/.//} > .endif > .endif >=20 > Also it can be: >=20 > --- bsd.ruby.mk 22 Nov 2010 05:47:07 -0000 1.203 > +++ bsd.ruby.mk 26 Dec 2010 16:34:47 -0000 > @@ -547,11 +547,11 @@ > .endif >=20 > .if defined(USE_RAKE) > -BUILD_DEPENDS+=3D ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-= rake > .if ${RUBY_VER} =3D=3D 1.8 > RAKE_BIN=3D ${LOCALBASE}/bin/rake > +BUILD_DEPENDS+=3D ${RAKE_BIN}:${PORTSDIR}/devel/rubygem-rake > .else > -RAKE_BIN=3D ${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//} > +RAKE_BIN=3D ${LOCALBASE}/bin/rake${RUBY_VER:S/.//} > .endif > .endif >=20 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? Why this is a promlem in any case? It seems that this path should point to the right rake location for 1.9. -- Stanislav Sedov ST4096-RIPE=