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