Quick Tip : Installing Ruby 2.7 and Node 12 on RH8
Installing Ruby and Node on Redhat 8
Quick tip on how to install Ruby 2.7 and Nodejs 12 on Redhat 8, as it can default to older versions.
# Enable new versions
dnf -y module reset ruby nodejs
dnf -y module enable ruby:2.7 nodejs:12
# Install
dnf install nodejs ruby
# Check installed versions
ruby --version
node --version
npm --version