RAKE_BIN and ruby19

Alexander Logvinov avl at logvinov.com
Mon Dec 27 01:37:59 UTC 2010


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



More information about the freebsd-ruby mailing list