From c415f3554382faa5c9912e237b2aa63db7f15b91 Mon Sep 17 00:00:00 2001 From: MorganGeek Date: Mon, 13 Jul 2020 16:02:47 +0200 Subject: [PATCH] fix: lynx needed a openssl+rvm upgrade - add alias for gpg2 to point to gpg, needed for rvm install script - reinstall openssl (brew reinstall openssl) to fix lynx - install rvm --- dot_aliases/secure.sh | 1 + dot_scripts/rubydeps.sh | 20 ++++++++------------ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/dot_aliases/secure.sh b/dot_aliases/secure.sh index d69906d..23e5dc9 100755 --- a/dot_aliases/secure.sh +++ b/dot_aliases/secure.sh @@ -3,6 +3,7 @@ alias mgmt='ssh $(whoami)@$PROXY_HOST -i $HOME/.ssh/id_ed25519' alias m='mgmt' alias tunnel='ssh -D 8000 -N $(whoami)@$PROXY_HOST -i $HOME/.ssh/id_ed25519' +alias gpg2="gpg" alias sshpub='cat $HOME/.ssh/id_ed25519.pub' alias ssla="openssl x509 -alias -noout -in" # Usage : ssla alias encrypt='ansible-vault encrypt **/vault.yml --vault-password-file=$VAULT_PASSWORD_FILE' diff --git a/dot_scripts/rubydeps.sh b/dot_scripts/rubydeps.sh index 9957844..aaa7613 100644 --- a/dot_scripts/rubydeps.sh +++ b/dot_scripts/rubydeps.sh @@ -1,13 +1,9 @@ #!/usr/bin/env bash -case "$(uname -s)" in - Linux) - echo '(Linux) Installing ruby' - curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - - curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import - - curl -L get.rvm.io | bash -s stable - source /etc/profile.d/rvm.sh - rvm reload - rvm requirements run - rvm install 2.3.7 - ;; -esac +echo '(Linux) Installing ruby' +curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - +curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import - +curl -L get.rvm.io | bash -s stable +source /etc/profile.d/rvm.sh +rvm reload +rvm requirements run +rvm install 2.3.7