Skip to content

Commit b29e549

Browse files
authored
Merge pull request #48 from aknrdureegaesr/rvm-key-via-curl
Get the rvm GPG key via curl from the rvm web side instead of via hkp.
2 parents 15983c2 + 4d36405 commit b29e549

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

rails-install-archlinux.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ echo "Installs ImageMagick for image processing"
1313
sudo pacman -S --noconfirm imagemagick
1414

1515
echo "Installs RVM (Ruby Version Manager) for handling Ruby installation"
16-
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
16+
# Retrieve the GPG key.
17+
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
1718
curl -sSL https://get.rvm.io | bash -s stable
1819
source ~/.rvm/scripts/rvm
1920

rails-install-ubuntu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ echo "Installs ImageMagick for image processing"
2121
sudo apt-get install imagemagick --fix-missing -y
2222

2323
echo "Installs RVM (Ruby Version Manager) for handling Ruby installation"
24-
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
24+
# Retrieve the GPG key.
25+
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
2526
curl -sSL https://get.rvm.io | bash -s stable
2627
source ~/.rvm/scripts/rvm
2728

0 commit comments

Comments
 (0)