I'm currently on Ubuntu 16.04. I'm trying to install wpscan. I already have ruby but it's v.2.3.1 (default). I've tried both suggested methods,
gem install wpscan and "from sources". In both cases, I've encountered the error:
ERROR: Error installing wpscan: zeitwerk requires Ruby version >= 2.4.4.
I've tried several things to install or upgrade Ruby:
sudo apt install ruby-full sudo apt install rubygems
I don't actually use Ruby besides running my tools made by others so I'm not sure how Ruby's system works.
How should I upgrade my Ruby version to >= 2.4.4 to run wpscan?