Date: Sun, 26 Dec 2010 10:07:32 -0800 From: Stanislav Sedov <stas@FreeBSD.org> To: Alexander Logvinov <avl@logvinov.com> Cc: "ruby@freebsd.org" <ruby@freebsd.org> Subject: Re: RAKE_BIN and ruby19 Message-ID: <D92027F1-3383-48C5-B8BA-A16C2CDCF801@FreeBSD.org> In-Reply-To: <4D177040.6020209@logvinov.com> References: <4D177040.6020209@logvinov.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 26, 2010, at 8:41 AM, Alexander Logvinov <avl@logvinov.com> 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D92027F1-3383-48C5-B8BA-A16C2CDCF801>