Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: fix portable Ruby behaviour. #9479

Merged
merged 1 commit into from Dec 9, 2020

Conversation

MikeMcQuaid
Copy link
Member

Better match the macOS behaviour in ruby.sh.

Fixes #9469

@BrewTestBot
Copy link
Member

Review period will end on 2020-12-10 at 11:34:29 UTC.

@BrewTestBot BrewTestBot added the waiting for feedback Merging is blocked until sufficient time has passed for review label Dec 9, 2020
@@ -349,7 +349,7 @@ then
else
# Used in ruby.sh.
# shellcheck disable=SC2034
HOMEBREW_MACOS_SYSTEM_RUBY_NEW_ENOUGH="1"
export HOMEBREW_MACOS_SYSTEM_RUBY_NEW_ENOUGH="1"
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should export it in the Declared in brew.sh section below for consistency (that is, set it here, but export it there) and so that there is only one place to keep track of all exported variables.

Copy link
Member Author

Choose a reason for hiding this comment

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

@maxim-belkin Good idea.

I also think, ideally, that all this cleanup.rb logic would go away and it'd just shell out to ruby.sh or similar instead so we can consolidate this logic in one place.

Copy link
Member Author

Choose a reason for hiding this comment

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

(@maxim-belkin if you'd be able to pick that up I'd be very grateful ❤️)

Better match the macOS behaviour in `ruby.sh`.

Fixes #9469
@MikeMcQuaid MikeMcQuaid added the critical Critical change which should be shipped as soon as possible. label Dec 9, 2020
@BrewTestBot BrewTestBot removed the waiting for feedback Merging is blocked until sufficient time has passed for review label Dec 9, 2020
@BrewTestBot
Copy link
Member

BrewTestBot commented Dec 9, 2020

Review period ended.

@MikeMcQuaid MikeMcQuaid merged commit 8890760 into Homebrew:master Dec 9, 2020
@MikeMcQuaid MikeMcQuaid deleted the fix-portable-ruby-cleanup branch December 9, 2020 12:45
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Jan 9, 2021
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Homebrew is repeatedly downloading and pouring "portable-ruby-2.6.3_2.yosemite.bottle.tar.gz"
3 participants