Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

msfconsole pop-out an error : Bundler faild to load , cannot load such file -- bundler/setup

So l installed parrot OS on my PC hard drive , after that l updated hole system and tried to run MSFCONSOLE . After l execute that command l get this error :

Bundler failed to load and return this error:

cannot load such file -- bundler/setup

you may need to uninstall or upgrade bundler

After this l uninstall bundler and install it again it didn't work .

l tried to upgrade it as well but it said that all packages are up to date .

Also l ran gem install bundler it successfully installed bundler and 1 gem but after that it pops-out same message after l ran msfconsole

Is it the right way to fix this..?

like image 943
root Avatar asked Dec 01 '22 14:12

root


1 Answers

Open the Terminal and run the following commands:

  1. cd /usr/share/metasploit-framework.
  2. Upgrade your bundler/setup : gem install bundler.
  3. Install bundle: bundle install.
  4. gem update --system.
  5. Restart Metasploit.
like image 106
graypwn Avatar answered Dec 07 '22 00:12

graypwn