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>
index | next in thread | previous in thread | raw e-mail
On Dec 26, 2010, at 8:41 AM, Alexander Logvinov <avl@logvinov.com> wrote:
> Hi!
>
> It seems this a typo:
>
> --- 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} == 1.8
> RAKE_BIN= ${LOCALBASE}/bin/rake
> .else
> -RAKE_BIN= ${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//}
> +RAKE_BIN= ${LOCALBASE}/bin/rake${RUBY_VER:S/.//}
> .endif
> .endif
>
> Also it can be:
>
> --- 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
>
> .if defined(USE_RAKE)
> -BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
> .if ${RUBY_VER} == 1.8
> RAKE_BIN= ${LOCALBASE}/bin/rake
> +BUILD_DEPENDS+= ${RAKE_BIN}:${PORTSDIR}/devel/rubygem-rake
> .else
> -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?
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D92027F1-3383-48C5-B8BA-A16C2CDCF801>
