summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2017-11-30 08:38:46 +0000
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-12-11 20:42:18 +0900
commit3a0c85f4d38bea24e9393a98dc951d081361d586 (patch)
treec3bff4948fdee998d9d09006409ea8f15e3d8b7d
parent47c4bbb340be1d09e38dd3f9dcb4bc764d9f09ca (diff)
downloadbundler-3a0c85f4d38bea24e9393a98dc951d081361d586.tar.gz
Auto merge of #6195 - dr-itz:unbreak-warbler, r=segiddins
Include bundler.gemspec in the gem because warbler breaks w/o it f06405 caused a regression with warbler, described in #6165 and jruby/warbler#421 If the fix is ok, it should probably be cherry-picked to 1-16-stable. ### What was the end-user problem that led to this PR? Upgrading from bundler v1.15.x to v1.16.0 causes warbler to break/abort with error. ### What was your diagnosis of the problem? 1. error message from warbler: missing file 2. see why file is missing 3. google to see if it's just me 😄 ### What is your fix for the problem, implemented in this PR? Put the missing (from warblers point of view at least) back. ### Why did you choose this fix out of the possible options? Seems easier than to fix warbler.
-rw-r--r--bundler.gemspec2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundler.gemspec b/bundler.gemspec
index dade77f32e..6cd542c95a 100644
--- a/bundler.gemspec
+++ b/bundler.gemspec
@@ -48,6 +48,8 @@ Gem::Specification.new do |s|
s.files += Dir.glob("man/**/*")
# Include the CHANGELOG.md, LICENSE.md, README.md manually
s.files += %w[CHANGELOG.md LICENSE.md README.md]
+ # include the gemspec itself because warbler breaks w/o it
+ s.files += %w[bundler.gemspec]
s.bindir = "exe"
s.executables = %w[bundle bundler]