From 03e8d9c07b7f10cbeb2ce35ea9686797ce112a6d Mon Sep 17 00:00:00 2001 From: Kamer Berat Topal Date: Sat, 12 Feb 2022 00:29:03 +0300 Subject: [PATCH] Update for linux dependencies and newer ruby versions for all supported OS's. --- archlinux.sh | 2 +- linux.sh | 4 ++-- mac.sh | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/archlinux.sh b/archlinux.sh index 8eaddf7..4b32d04 100755 --- a/archlinux.sh +++ b/archlinux.sh @@ -108,7 +108,7 @@ fancy_echo "Installing dependencies ..." install "cmake" ## Ruby environment -RUBY_VERSION="2.5.1" +RUBY_VERSION="3.1.0" fancy_echo "Preveting gem system from installing documentation ..." echo 'gem: --no-ri --no-doc' >> $HOME/.gemrc diff --git a/linux.sh b/linux.sh index 19d5f69..3890004 100644 --- a/linux.sh +++ b/linux.sh @@ -70,7 +70,7 @@ fancy_echo "Installing ImageMagick, to crop and resize images ..." sudo aptitude install -y imagemagick fancy_echo "Installing libraries for common gem dependencies ..." - sudo aptitude install -y libxslt1-dev libcurl4-openssl-dev libksba8 libksba-dev libqtwebkit-dev libreadline-dev libpq-dev + sudo aptitude install -y libxslt1-dev libcurl4-openssl-dev libksba8 libksba-dev libqt5webkit5-dev libreadline-dev libpq-dev fancy_echo "Installing watch, to execute a program periodically and show the output ..." sudo aptitude install -y watch @@ -110,7 +110,7 @@ fancy_echo "Installing Ruby dependencies ..." ## Ruby environment RUBY_VERSION="3.1.0" -fancy_echo "Preveting gem system from installing documentation ..." +fancy_echo "Preventing gem system from installing documentation ..." echo 'gem: --no-ri --no-doc' >> ~/.gemrc fancy_echo "Installing Ruby $RUBY_VERSION ..." diff --git a/mac.sh b/mac.sh index b4d615a..69ccde5 100644 --- a/mac.sh +++ b/mac.sh @@ -81,11 +81,11 @@ fancy_echo "Upgrading and linking OpenSSL ..." #export CC=gcc-4.2 ## Ruby environment -fancy_echo "Installing Ruby 2.5.1 ..." - rbenv install 2.5.1 +fancy_echo "Installing Ruby 3.1.0 ..." + rbenv install 3.1.0 -fancy_echo "Setting Ruby 2.5.1 as global default Ruby ..." - rbenv global 2.5.1 +fancy_echo "Setting Ruby 3.1.0 as global default Ruby ..." + rbenv global 3.1.0 rbenv rehash fancy_echo "Updating to latest Rubygems version ..."