1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rubygems/ext/builder.rb (Gem::Ext::Builder.make),

(Gem::Ext::Builder.run): EXIT_SUCCESS may be 0 or may not.

* test/rubygems/test_gem_ext_rake_builder.rb (build_rake_in): override
  Gem.ruby and ENV["rake"].

* runruby.rb: bin/rake does not exist in archdir where architecture
  depend script (i.e. rbconfig.rb) exists.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-07-01 06:01:15 +00:00
parent d3b61c079e
commit c274c6fabf
4 changed files with 39 additions and 9 deletions

View file

@ -35,7 +35,7 @@ class Gem::Ext::Builder
results << `#{cmd} #{redirector}`
raise Gem::InstallError, "make#{target} failed:\n\n#{results}" unless
$?.exitstatus.zero?
$?.success?
end
end
@ -47,7 +47,7 @@ class Gem::Ext::Builder
results << command
results << `#{command} #{redirector}`
unless $?.exitstatus.zero? then
unless $?.success? then
raise Gem::InstallError, "#{class_name} failed:\n\n#{results.join "\n"}"
end
end