diff --git a/vars/build.vars b/vars/build.vars
index d611b83..0082400 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -589,11 +589,8 @@ LEAF_PACKAGES_PACKAGES="
 apk_tools aria2 bash bc bdwgc bind bison chicken clang_host coreutils cparser cron dash datamash diffutils
 dos2unix dropbear ed figlet file findutils gawk git gnupg grep hexcurse htop inetutils infounzip infozip
 irssi john ldns less lighttpd lynx make man_db mc mksh mtr m4 nano netcat nginx openlitespeed openssh p7zip
-pacman patch patchutils perl procps_ng python3 qpdf rsync rxvt_unicode sed smallbasic socat st tar tcsh
+pacman patch patchutils perl procps_ng python3 qpdf rsync ruby rxvt_unicode sed smallbasic socat st tar tcsh
 the_silver_searcher tmux toilet util_linux vim weechat wget which whois xeyes xwd zsh";
-if [ -n "$(which ruby 2>/dev/null)" ]; then
-	LEAF_PACKAGES_PACKAGES="${LEAF_PACKAGES_PACKAGES:+${LEAF_PACKAGES_PACKAGES} }ruby";
-fi;
 LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}";
 : ${PKG_APK_TOOLS_SHA256SUM:=def2b2c23cd12fd2a9c19be49653b0d1bf9d81a26dac5a0ee79a1351d674f93b};
 : ${PKG_APK_TOOLS_VERSION:=2.6.8};