Homebrew / homebrew-portable-ruby

🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem.
BSD 2-Clause "Simplified" License
133 stars 43 forks source link

Rename SSL_CERT_FILE to avoid overriding system SSL cert file #169

Closed Bo98 closed 1 year ago

Bo98 commented 1 year ago

We set a default SSL_CERT_FILE because OpenSSL contains fixed paths baked in that cannot be avoided.

However setting this has the unintended effect of affecting all OpenSSL usages (e.g. in curl) rather than just the one linked into our portable Ruby.

We need to set a SSL_CERT_FILE otherwise open-uri etc will break, so let's just rename the portable-openssl variable to something different.

https://github.com/Homebrew/brew/issues/14828

Bo98 commented 1 year ago

Ah adding stackprof to brew's Gemfile broke CI here. Probably should separate it into a gem group since it really doesn't need to be installed for 99% of use cases.

MikeMcQuaid commented 1 year ago

Probably should separate it into a gem group since it really doesn't need to be installed for 99% of use cases.

👍🏻 fine with me.