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

Fixed test failures with gem command path on ruby core repo #7482

Merged
1 commit merged into from Dec 14, 2019

Conversation

hsbt
Copy link
Member

@hsbt hsbt commented Dec 14, 2019

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

Some of the examples failed with ruby-core repository.

What was your diagnosis of the problem?

The ruby-core repository used gem commands under the its repository named bin/gem directory. But the current examples points gem command with a global path.

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

I fixed them used by ruby_core? helper methods.

@hsbt hsbt added this to the 2.1.0 milestone Dec 14, 2019
@hsbt
Copy link
Member Author

hsbt commented Dec 14, 2019

@deivid-rodriguez Can you backport this to 2-1-stable branch before releasing 2.1.0?

@deivid-rodriguez
Copy link
Member

Yes, I'll take care of it.

@hsbt
Copy link
Member Author

hsbt commented Dec 14, 2019

Thanks!

@hsbt
Copy link
Member Author

hsbt commented Dec 14, 2019

I confirmed to pass all tests of Bundler 2.1.0 with ruby master. https://github.com/ruby/ruby/pull/2753/checks?check_run_id=348617036 👍

@deivid-rodriguez
Copy link
Member

@hsbt One test failed in bundler, I tried to fix it.

@deivid-rodriguez
Copy link
Member

@bundlerbot merge

ghost pushed a commit that referenced this pull request Dec 14, 2019
7482: Fixed test failures with gem command path on ruby core repo r=deivid-rodriguez a=hsbt

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

Some of the examples failed with ruby-core repository.

### What was your diagnosis of the problem?

The ruby-core repository used `gem` commands under the its repository named `bin/gem` directory. But the current examples points `gem` command with a global path.

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

I fixed them used by `ruby_core?` helper methods.


Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org>
@ghost
Copy link

ghost commented Dec 14, 2019

Build succeeded

@ghost ghost merged commit f805835 into master Dec 14, 2019
@ghost ghost deleted the fixed-bundler-specs-on-ruby-repo branch December 14, 2019 17:12
@hsbt
Copy link
Member Author

hsbt commented Dec 14, 2019

@deivid-rodriguez Thanks!

deivid-rodriguez pushed a commit that referenced this pull request Dec 15, 2019
7482: Fixed test failures with gem command path on ruby core repo r=deivid-rodriguez a=hsbt

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

Some of the examples failed with ruby-core repository.

### What was your diagnosis of the problem?

The ruby-core repository used `gem` commands under the its repository named `bin/gem` directory. But the current examples points `gem` command with a global path.

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

I fixed them used by `ruby_core?` helper methods.

Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org>
(cherry picked from commit 4045ba4)
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants