Commit 673d5a7
authored
Dynamically set Homebrew-installed OpenSSL flag (brianmario#1204)
This is a follow-up to brianmario#1135 which added the OpenSSL flag assuming that
if the `RUBY_PLATFORM` is `darwin` (macOS):
- Homebrew is installed
- OpenSSL is installed via Homebrew
This PR:
- no longer assumes Homebrew is installed if we're on macOS
- no longer assumes OpenSSL is installed via Homebrew
- asks Homebrew for the openssl location (which will also work with the
newer openssl@1.1 recipe)
Should prevent issues like these when running bundle install on the
rails codebase:
Bundle Install error due to: ld: warning: directory not found for option '-L/usr/local/opt/openssl/lib'1 parent ef28e60 commit 673d5a7
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
0 commit comments