Coder Social home page Coder Social logo

Comments (3)

Bo98 avatar Bo98 commented on August 15, 2024 1

We could probably move some of the Linux-specific code

rubies = [which("ruby"), which("ruby", ORIGINAL_PATHS)].compact
system_ruby = Pathname.new("/usr/bin/ruby")
rubies << system_ruby if system_ruby.exist?
check_ruby_version = HOMEBREW_LIBRARY_PATH/"utils/ruby_check_version_script.rb"
rubies.uniq.any? do |ruby|
quiet_system ruby, "--enable-frozen-string-literal", "--disable=gems,did_you_mean,rubyopt",
check_ruby_version, RUBY_VERSION
end
to be generic code and then make the macOS one defer to the generic code if that env is set

from brew.

MikeMcQuaid avatar MikeMcQuaid commented on August 15, 2024

Step-by-step reproduction instructions (by running brew commands)

brew developer on
brew update
brew cleanup

@carlocab cannot reproduce on latest master:

$ brew update; brew cleanup
==> Updating Homebrew...
Already up-to-date.
Removing: /opt/workbrew/home/Library/Caches/Homebrew/bootsnap... (524 files, 4.1MB)
==> This operation has freed approximately 4.1MB of disk space.
$ brew --version
Homebrew 4.3.5-95-g24f74c0
Homebrew/homebrew-core (git revision da9db7107e3; last commit 2024-06-14)
Homebrew/homebrew-cask (git revision 718a0c3774; last commit 2024-06-14)

from brew.

carlocab avatar carlocab commented on August 15, 2024

Caused by HOMEBREW_USE_RUBY_FROM_PATH -- this needs to be unset.

from brew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.