[Rubygems-developers] RubyGems test failures related to multiple interpreters and executable prefix/suffix
luislavena at gmail.com
Mon Jul 20 22:31:32 EDT 2009
On Mon, Jul 20, 2009 at 11:16 PM, Chad Woolley<thewoolleyman at gmail.com> wrote:
> I'm trying to debug a RubyGems test failure on a system which has
> multiple ruby interpreter installs and 'ruby' symlinked to
What is the output of this:
ruby -rrbconfig -e "puts RbConfig::CONFIG['ruby_install_name']"
> Here is the test failure :
> 1) Error:
> ERROR: Failed to build gem native extension.
> /usr/local/lib/ruby1.8.6/bin/ruby1.8.6 mkrf_conf.rb
> rake1.8.6 RUBYARCHDIR=/tmp/test_rubygems_17720/gemhome/gems/pre-2.b/lib
> sh: rake1.8.6: command not found
> * What is supposed to get a suffix? All gem executables from
> installed gems, or just 'official' ruby executables such as ri, irb,
What is the value of ENV['rake'] when Rake has been loaded?
It shouldn't be prefixing it, unless is trying to resolve the symlink,
which is doubtful.
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
More information about the Rubygems-developers