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

[Settings] Append the ruby scope on Bundler 2 with a global path setting #6628

Merged
merged 3 commits into from
Jul 31, 2018

Conversation

segiddins
Copy link
Member

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

The problem was bundle config path behaving differently depending on whether the config is local or global was... confusing.

Closes #6619 (comment).

What was your diagnosis of the problem?

My diagnosis was setting the path setting should be consistent, regardless of the level of configuration it is set at.

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

My fix appends the "ruby scope" to the path when set globally on Bundler 2.

Why did you choose this fix out of the possible options?

I chose this fix because it means users won't have to re-install gems when switching rubies with a global BUNDLE_PATH set.

@segiddins segiddins requested a review from indirect July 17, 2018 05:37
Copy link
Member

@indirect indirect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@indirect
Copy link
Member

@bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit 4487ea5 has been approved by indirect

@bundlerbot
Copy link
Collaborator

⌛ Testing commit 4487ea5 with merge 1866621...

bundlerbot added a commit that referenced this pull request Jul 17, 2018
…ope, r=indirect

[Settings] Append the ruby scope on Bundler 2 with a global path setting

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

The problem was `bundle config path` behaving differently depending on whether the config is local or global was... confusing.

Closes #6619 (comment).

### What was your diagnosis of the problem?

My diagnosis was setting the `path` setting should be consistent, regardless of the level of configuration it is set at.

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

My fix appends the "ruby scope" to the path when set globally on Bundler 2.

### Why did you choose this fix out of the possible options?

I chose this fix because it means users won't have to re-install gems when switching rubies with a global `BUNDLE_PATH` set.
@bundlerbot
Copy link
Collaborator

💔 Test failed - status-travis

@segiddins segiddins force-pushed the segiddins/bundler-2-global-path-ruby-scope branch from 4487ea5 to 92fe3ba Compare July 22, 2018 05:44
@segiddins
Copy link
Member Author

Took a while, but got the specs updated!

@segiddins segiddins force-pushed the segiddins/bundler-2-global-path-ruby-scope branch from 92fe3ba to 9b38bcb Compare July 29, 2018 23:50
@colby-swandale
Copy link
Member

@bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit 9b38bcb has been approved by colby-swandale

@bundlerbot
Copy link
Collaborator

⌛ Testing commit 9b38bcb with merge 0fc64a6...

bundlerbot added a commit that referenced this pull request Jul 31, 2018
…ope, r=colby-swandale

[Settings] Append the ruby scope on Bundler 2 with a global path setting

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

The problem was `bundle config path` behaving differently depending on whether the config is local or global was... confusing.

Closes #6619 (comment).

### What was your diagnosis of the problem?

My diagnosis was setting the `path` setting should be consistent, regardless of the level of configuration it is set at.

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

My fix appends the "ruby scope" to the path when set globally on Bundler 2.

### Why did you choose this fix out of the possible options?

I chose this fix because it means users won't have to re-install gems when switching rubies with a global `BUNDLE_PATH` set.
@bundlerbot
Copy link
Collaborator

☀️ Test successful - status-travis
Approved by: colby-swandale
Pushing 0fc64a6 to master...

@bundlerbot bundlerbot merged commit 9b38bcb into master Jul 31, 2018
@colby-swandale colby-swandale deleted the segiddins/bundler-2-global-path-ruby-scope branch July 31, 2018 10:18
@deivid-rodriguez deivid-rodriguez added this to the 1.17.0 milestone Sep 3, 2018
colby-swandale pushed a commit that referenced this pull request Sep 21, 2018
…ope, r=colby-swandale

[Settings] Append the ruby scope on Bundler 2 with a global path setting

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

The problem was `bundle config path` behaving differently depending on whether the config is local or global was... confusing.

Closes #6619 (comment).

### What was your diagnosis of the problem?

My diagnosis was setting the `path` setting should be consistent, regardless of the level of configuration it is set at.

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

My fix appends the "ruby scope" to the path when set globally on Bundler 2.

### Why did you choose this fix out of the possible options?

I chose this fix because it means users won't have to re-install gems when switching rubies with a global `BUNDLE_PATH` set.

(cherry picked from commit 0fc64a6)
colby-swandale pushed a commit that referenced this pull request Sep 22, 2018
…ope, r=colby-swandale

[Settings] Append the ruby scope on Bundler 2 with a global path setting

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

The problem was `bundle config path` behaving differently depending on whether the config is local or global was... confusing.

Closes #6619 (comment).

### What was your diagnosis of the problem?

My diagnosis was setting the `path` setting should be consistent, regardless of the level of configuration it is set at.

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

My fix appends the "ruby scope" to the path when set globally on Bundler 2.

### Why did you choose this fix out of the possible options?

I chose this fix because it means users won't have to re-install gems when switching rubies with a global `BUNDLE_PATH` set.

(cherry picked from commit 0fc64a6)
colby-swandale pushed a commit that referenced this pull request Oct 5, 2018
…ope, r=colby-swandale

[Settings] Append the ruby scope on Bundler 2 with a global path setting

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

The problem was `bundle config path` behaving differently depending on whether the config is local or global was... confusing.

Closes #6619 (comment).

### What was your diagnosis of the problem?

My diagnosis was setting the `path` setting should be consistent, regardless of the level of configuration it is set at.

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

My fix appends the "ruby scope" to the path when set globally on Bundler 2.

### Why did you choose this fix out of the possible options?

I chose this fix because it means users won't have to re-install gems when switching rubies with a global `BUNDLE_PATH` set.

(cherry picked from commit 0fc64a6)
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.

bundle path confusing behavior
5 participants