Summary
The page at https://docs.metasploit.com/docs/development/get-started/setting-up-a-metasploit-development-environment.html is somewhat outdated as it does not mention that now to install Ruby from scratch using rbenv you also need to run the following commands:
sudo apt install libffi-dev
sudo apt install libyaml-dev
Motivation
Ensure documentation is up to date to help onboard new developers and ensure a smoother on-boarding experience for those who wish to contribute to Metasploit.
Steps to resolve this issue
Update the Linux install steps from
sudo apt update && sudo apt install -y git autoconf build-essential libpcap-dev libpq-dev zlib1g-dev libsqlite3-dev
To this
sudo apt update && sudo apt install -y git autoconf build-essential libpcap-dev libpq-dev zlib1g-dev libsqlite3-dev libffi-dev libyaml-dev
Summary
The page at https://docs.metasploit.com/docs/development/get-started/setting-up-a-metasploit-development-environment.html is somewhat outdated as it does not mention that now to install Ruby from scratch using rbenv you also need to run the following commands:
sudo apt install libffi-devsudo apt install libyaml-devMotivation
Ensure documentation is up to date to help onboard new developers and ensure a smoother on-boarding experience for those who wish to contribute to Metasploit.
Steps to resolve this issue
Update the Linux install steps from
sudo apt update && sudo apt install -y git autoconf build-essential libpcap-dev libpq-dev zlib1g-dev libsqlite3-devTo this
sudo apt update && sudo apt install -y git autoconf build-essential libpcap-dev libpq-dev zlib1g-dev libsqlite3-dev libffi-dev libyaml-dev