RAKE_BIN and ruby19
Stanislav Sedov
stas at FreeBSD.org
Sun Dec 26 18:07:57 UTC 2010
On Dec 26, 2010, at 8:41 AM, Alexander Logvinov <avl at 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
More information about the freebsd-ruby
mailing list