rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
34.05k stars 13.95k forks source link

Error while installing io-console (0.5.6) #13595

Closed Kapil231 closed 4 years ago

Kapil231 commented 4 years ago

I just updated the metasploit and it shows me error while running msfconsole.

Screenshot from 2020-06-11 05-18-14

Screenshot from 2020-06-11 05-19-07

gwillcox-r7 commented 4 years ago

Have you tried running gem install io-console -v '0.5.6' --source 'https://rubygems.org' as per the output of that error message? If that fails, can you please share the output of running that command?

Also reordering your images since they are out of order.

Kapil231 commented 4 years ago

I installed a separate package for ruby development and the problem resolved.

BenKettlewell commented 4 years ago

For fellow travelers who find themselves here with no answer....

cd /usr/share/metasploit-framework; apt-get install libruby2.7 ruby2.7-dev; bundle install

If you hit permission problems just add sudo

AntonMingov commented 9 months ago

On macOS, you can install Xcode, it worked in my case.

xcode-select --install

crisperpo commented 3 months ago

On macOS, you can install Xcode, it worked in my case.

xcode-select --install

This helped me too