gem-compile 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rubygems/compiler.rb +2 -2
- metadata +1 -1
data/lib/rubygems/compiler.rb
CHANGED
@@ -73,7 +73,7 @@ class Gem::Compiler
|
|
73
73
|
|
74
74
|
File.open('gem_make.out', 'wb') { |f| f.puts results }
|
75
75
|
|
76
|
-
|
76
|
+
message = <<-EOF
|
77
77
|
ERROR: Failed to build gem native extension."
|
78
78
|
|
79
79
|
#{results}
|
@@ -81,7 +81,7 @@ ERROR: Failed to build gem native extension."
|
|
81
81
|
Results logged to #{File.join(Dir.pwd, 'gem_make.out')}
|
82
82
|
EOF
|
83
83
|
|
84
|
-
raise
|
84
|
+
raise Gem::Exception, message
|
85
85
|
ensure
|
86
86
|
Dir.chdir start_dir
|
87
87
|
end
|