'running 'msfconsole' command it throws error

In termux while "Could not find activerecord-6.1.4.7 in any of the sources", I tried running 'gem install activerecord' but still after installing this gem, it shows again same error. Plz help me!!



Solution 1:[1]

Delete the metasploit version already installed and install the official version of Metasploit from the official website according to the given procedure!

Metasploit Website :- Metasploit.com

And if this does not solve your problem then type these commands in terminal :-

sudo su
apt-get update
apt-get upgrade

After it's done again install the metasploit framework.

I hope this will solve your error.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 KING