Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2010 09:39:13 +0800
From:      Alexander Logvinov <avl@logvinov.com>
To:        Stanislav Sedov <stas@FreeBSD.org>
Cc:        "ruby@freebsd.org" <ruby@freebsd.org>
Subject:   Re: RAKE_BIN and ruby19
Message-ID:  <4D17EE41.9050907@logvinov.com>
In-Reply-To: <D92027F1-3383-48C5-B8BA-A16C2CDCF801@FreeBSD.org>
References:  <4D177040.6020209@logvinov.com> <D92027F1-3383-48C5-B8BA-A16C2CDCF801@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D17EE41.9050907>