summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-05 12:07:30 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-05 12:07:30 +0200
commit8505cc2f70753d51cb322dc5e60909a1903dac6e (patch)
tree4d5b5af0aea0053a0f469315a2b03b9dbb2e2096
parentbfa4c1b5bd7cf1dd299e9c9cc7dd7209ff527405 (diff)
downloadbundler-fix_undefined_method_error.tar.gz
Add missing method to rake filefix_undefined_method_error
-rw-r--r--task/build_metadata.rake4
1 files changed, 4 insertions, 0 deletions
diff --git a/task/build_metadata.rake b/task/build_metadata.rake
index f899562b46..55ffaf4ba7 100644
--- a/task/build_metadata.rake
+++ b/task/build_metadata.rake
@@ -1,5 +1,9 @@
# frozen_string_literal: true
+def bundler_spec
+ Gem::Specification.load("bundler.gemspec")
+end
+
def write_build_metadata(build_metadata)
build_metadata_file = "lib/bundler/build_metadata.rb"