aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/ext
diff options
context:
space:
mode:
authorJosef Šimánek <josef.simanek@gmail.com>2020-05-01 00:55:07 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-05 07:32:42 +0900
commitb7adb10e3986ac8334b5f304321dda6f8d135e69 (patch)
treee22dde35930b6beddaa1c20787209b375ba05702 /lib/rubygems/ext
parentf61ee674d8c5871e8e81b1a7f5884635a0ee9803 (diff)
downloadruby-b7adb10e3986ac8334b5f304321dda6f8d135e69.tar.gz
[rubygems/rubygems] Add build warning when rake based extension is present, but rake is not specified as dependency.
https://github.com/rubygems/rubygems/commit/75fe5475b6
Diffstat (limited to 'lib/rubygems/ext')
-rw-r--r--lib/rubygems/ext/build_error.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/ext/build_error.rb b/lib/rubygems/ext/build_error.rb
index 6dffddb5cc..720f37cf26 100644
--- a/lib/rubygems/ext/build_error.rb
+++ b/lib/rubygems/ext/build_error.rb
@@ -2,5 +2,7 @@
##
# Raised when there is an error while building extensions.
+require 'rubygems/exceptions'
+
class Gem::Ext::BuildError < Gem::InstallError
end