From 8e8a10b9edd16520e150b4a7bed661f8672827d2 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 30 Jul 2024 11:28:49 +0300 Subject: [PATCH] {bash,zsh}rc & profile: comment to future wondering of missing openssl Co-authored-by: Tessu Suomalainen --- etc/profile.d/99-brew-whateverenv.sh | 2 ++ rc/bashrc | 2 ++ rc/zshrc | 3 +++ 3 files changed, 7 insertions(+) diff --git a/etc/profile.d/99-brew-whateverenv.sh b/etc/profile.d/99-brew-whateverenv.sh index 91fca91e..a304c67f 100644 --- a/etc/profile.d/99-brew-whateverenv.sh +++ b/etc/profile.d/99-brew-whateverenv.sh @@ -28,6 +28,8 @@ fi if [ -f /home/linuxbrew/.linuxbrew/opt/rbenv/bin/rbenv ]; then eval "$(/home/linuxbrew/.linuxbrew/opt/rbenv/bin/rbenv init -)" PATH=/home/linuxbrew/.linuxbrew/opt/rbenv/bin/shims:$PATH + # No OpenSSL? Remember (and substitute the x, y and z)!: + # rbenv install -- --with-openssl-dir=/home/linuxbrew/.linuxbrew/Cellar/openssl@x/x.y.z/ elif [ -f ~/.rbenv/bin/rbenv ]; then eval "$(~/.rbenv/bin/rbenv init -)" # Remember! And verify it before running! diff --git a/rc/bashrc b/rc/bashrc index 299735ad..1402ff8c 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -289,6 +289,8 @@ fi if [ -f /home/linuxbrew/.linuxbrew/opt/rbenv/bin/rbenv ]; then eval "$(/home/linuxbrew/.linuxbrew/opt/rbenv/bin/rbenv init -)" PATH=/home/linuxbrew/.linuxbrew/opt/rbenv/bin/shims:$PATH +# No OpenSSL? Remember (and substitute the x, y and z)!: +# rbenv install -- --with-openssl-dir=/home/linuxbrew/.linuxbrew/Cellar/openssl@x/x.y.z/ elif [ -f ~/.rbenv/bin/rbenv ]; then eval "$(~/.rbenv/bin/rbenv init -)" # Remember! And verify it before running! diff --git a/rc/zshrc b/rc/zshrc index 3c28e925..8a6b95e8 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -243,6 +243,9 @@ fi if [ -f /home/linuxbrew/.linuxbrew/opt/rbenv/bin/rbenv ]; then eval "$(/home/linuxbrew/.linuxbrew/opt/rbenv/bin/rbenv init -)" PATH=/home/linuxbrew/.linuxbrew/opt/rbenv/bin/shims:$PATH + +# No OpenSSL? Remember (and substitute the x, y and z)!: +# rbenv install -- --with-openssl-dir=/home/linuxbrew/.linuxbrew/Cellar/openssl@x/x.y.z/ elif [ -f ~/.rbenv/bin/rbenv ]; then eval "$(~/.rbenv/bin/rbenv init -)" # Remember! And verify it before running!