2b6417
From 8cca079d3be8d07c261baea72529628469938245 Mon Sep 17 00:00:00 2001
2b6417
From: hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
2b6417
Date: Sat, 2 Feb 2019 10:41:22 +0000
2b6417
Subject: [PATCH] Fixup r66984. Update the location of bundler gemspec.
2b6417
2b6417
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2b6417
---
2b6417
 spec/bundler/support/path.rb | 2 +-
2b6417
 tool/sync_default_gems.rb    | 2 +-
2b6417
 2 files changed, 2 insertions(+), 2 deletions(-)
2b6417
2b6417
diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb
2b6417
index 38f7145dc72a..69efcba05175 100644
2b6417
--- a/spec/bundler/support/path.rb
2b6417
+++ b/spec/bundler/support/path.rb
2b6417
@@ -9,7 +9,7 @@ def root
2b6417
     end
2b6417
 
2b6417
     def gemspec
2b6417
-      @gemspec ||= root.join(ruby_core? ? "lib/bundler.gemspec" : "bundler.gemspec")
2b6417
+      @gemspec ||= root.join(ruby_core? ? "lib/bundler/bundler.gemspec" : "bundler.gemspec")
2b6417
     end
2b6417
 
2b6417
     def bindir
2b6417
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
2b6417
index bb4fcdd2cc12..26458147e5a3 100644
2b6417
--- a/tool/sync_default_gems.rb
2b6417
+++ b/tool/sync_default_gems.rb
2b6417
@@ -89,7 +89,7 @@ def sync_default_gems(gem)
2b6417
     `rm -rf lib/bundler* libexec/bundler libexec/bundle libexec/bundle_ruby spec/bundler man/bundle* man/gemfile*`
2b6417
     `cp -r ../../bundler/bundler/lib/bundler* ./lib`
2b6417
     `cp -r ../../bundler/bundler/exe/bundle* ./libexec`
2b6417
-    `cp ../../bundler/bundler/bundler.gemspec ./lib`
2b6417
+    `cp ../../bundler/bundler/bundler.gemspec ./lib/bundler`
2b6417
     `cp -r ../../bundler/bundler/spec spec/bundler`
2b6417
     `cp -r ../../bundler/bundler/man/*.{1,5,1\.txt,5\.txt,ronn} ./man`
2b6417
     `rm -rf spec/bundler/support/artifice/vcr_cassettes`