diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 06:01:15 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 06:01:15 +0000 |
| commit | 9d20a0842653d57118f3bddc0c5780dfa304184f (patch) | |
| tree | a2b9f341c34eb2c83a24c5cd8a38fe353c44f9c7 /lib | |
| parent | 84bd54db5d708912026595b6373041678ffb8626 (diff) | |
| download | ruby-9d20a0842653d57118f3bddc0c5780dfa304184f.tar.gz ruby-9d20a0842653d57118f3bddc0c5780dfa304184f.tar.xz ruby-9d20a0842653d57118f3bddc0c5780dfa304184f.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@17758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rubygems/ext/builder.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/ext/builder.rb b/lib/rubygems/ext/builder.rb index 576951a56..36e9ec18f 100644 --- a/lib/rubygems/ext/builder.rb +++ b/lib/rubygems/ext/builder.rb @@ -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 |
