Did you ever hear how “great” Ruby is? If that is true, how come not many are (still) using it? Ruby is free software, i.e., it is free if you have free time! IMHO, Ruby’s most significant f*ing problem is “Just because version X works fine; version X+1 should work fine too!” Therefore, stick with version X until it is obsolete or vulnerable. Why use Ruby anyway? Because GitHub and GitHub Page were developed with it, so was Jekyll!
This page is about how to install Jekyll with Rbenv on a VirtualBox Debian Guest. Why Rbenv? Because This Is How Me Do It! If it works today, there is no warranty if it will still work the day after. Take it or leave it.
PS: For setting a VirtualBox Guest, visit https://osp4diss.vlsm.org/. I have spoken!
Check how the NAT (Network Address Translation) redirects ports:
TAKE NOTE: Your NAT might be using other settings!
You need to have SuperUser (root) access for the first part of the installation. For the next part, just user privilege is needed.
# REV04: Mon 04 Sep 2023 20:00
# REV03: Fri 16 Jun 2023 09:00
# REV02: Mon 31 Jan 2022 13:00
# REV01: Sat 29 Jan 2022 11:00
# START: Mon 15 Feb 2021 11:00
deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://deb.debian.org/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb https://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb https://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
wget https://doit.vlsm.org/assets/scripts/sources.list
diff sources.list /etc/apt/sources.list
#!/bin/bash
# REV07: Fri 12 Aug 2022 21:00
# REV06: Wed 17 Feb 2021 11:00
# REV05: Tue 16 Feb 2021 00:00
# START: Tue 18 Jun 2019 14:00
#
# clean-system.sh purges whatever was installed previously at the system level.
# You need SuperUser (root) "su -" or "sudo su -" access.
#
# Copyright (C) 2019-2022 C. Binkadal, Sdn. Bhd.
# This is a free script. It is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.
RMOPT="-rfv"
DELETE1="
/etc/apt/sources.list.d/yarn.list
/tmp/this-should-be-a-dummy
"
DELETE2="
/usr/lib/ruby/
/usr/local/bin/update_rubygems
/usr/local/bin/bundle
/usr/local/bin/bundler
/usr/local/lib/site_ruby/
/usr/share/rubygems-integration/
/var/lib/gems/
/tmp/this-should-be-a-dummy
"
DELDEB="
ruby
ruby-all-dev
ruby-dev
"
for II in $DELETE1 ; do
[ -f $II ] && (echo "Delete file $II"; rm $RMOPT $II)
[ -d $II ] && (echo "Delete folder $II"; rm $RMOPT $II)
done
for II in $DELDEB ; do
apt-get purge $II -y
done
apt-get update;
apt-get dist-upgrade -y;
apt-get autoremove --purge -y;
apt-get autoclean -y;
for II in $DELETE2 ; do
[ -f $II ] && (echo "Delete file $II"; rm $RMOPT $II)
[ -d $II ] && (echo "Delete folder $II"; rm $RMOPT $II)
done
exit 0
wget https://doit.vlsm.org/assets/scripts/clean-system.sh
bash clean-system.sh
#!/bin/bash
# REV09: Fri 12 Aug 2022 21:00
# REV08: Wed 17 Feb 2021 23:00
# REV07: Wed 17 Feb 2021 11:00
# START: Tue 18 Jun 2019 14:00
#
# debs.sh installs related debian packages.
# You need SuperUser (root) "su -" or "sudo su -" access.
#
# Copyright (C) 2019-2022 C. BinKadal, Sdn. Bhd.
# This is a free script. It is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.
DEBS1="
autoconf
bison
build-essential
cmdtest
curl
dirmngr
git
gnupg
libcurl4-openssl-dev
libffi-dev
libgdbm-dev
libncurses5-dev
libreadline-dev
libssl-dev
libsqlite3-dev
libyaml-dev
libxml2-dev
libxslt1-dev
locales-all
make
nodejs
sqlite3
software-properties-common
x11-apps
zlib1g-dev
"
echo "====== UPDATE ==========";
apt-get update;
echo "====== UPGRADE ==========";
apt-get dist-upgrade -y;
echo "====== INSTALL1 =========";
apt-get install $DEBS1 -y
echo "====== REMOVE ==========";
apt-get autoremove --purge -y;
echo "====== CLEAN ==========";
apt-get autoclean -y;
exit 0
wget https://doit.vlsm.org/assets/scripts/debs.sh
bash debs.sh