Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Merge #6977
Browse files Browse the repository at this point in the history
6977: Update the location of bundler gemspec. r=deivid-rodriguez a=hsbt

### What was the end-user problem that led to this PR?

On the ruby core repository has the original patch for the test suite. The current bundler repository was inconsistency status with it.

### What was your diagnosis of the problem?

This pull-request was the missing commit of #6973

### What is your fix for the problem, implemented in this PR?

The test suite of bundler break the inconsistency gemspec location,






Co-authored-by: SHIBATA Hiroshi <[email protected]>
(cherry picked from commit 7199b12)
  • Loading branch information
bundlerbot authored and hsbt committed Feb 20, 2019
1 parent d3cf5b4 commit ef2a7f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundler.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ begin
require File.expand_path("../lib/bundler/version", __FILE__)
rescue LoadError
# for Ruby core repository
require File.expand_path("../bundler/version", __FILE__)
require File.expand_path("../version", __FILE__)
end

require "shellwords"
Expand Down
2 changes: 1 addition & 1 deletion spec/support/path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def root
end

def gemspec
@gemspec ||= root.join(ruby_core? ? "lib/bundler.gemspec" : "bundler.gemspec")
@gemspec ||= root.join(ruby_core? ? "lib/bundler/bundler.gemspec" : "bundler.gemspec")
end

def bindir
Expand Down

0 comments on commit ef2a7f9

Please sign in to comment.