Msfconsole: cannot load such file — bundler/setup – FIXED

I recently came across the Msfconsole cannot load such file — bundler/setup error and after a quick research, found the solution to the problem.

msfconsole cannot load bundler

Updating Gem

To fix this issue we need to update Gem

sudo gem update --system

sudo gem install bundler:1.17.3

And finally

cd /usr/share/metasploit-framework

sudo bundle install

After this, Metasploit should start again.

msfconsole cannot load bundler

12 thoughts on “Msfconsole: cannot load such file — bundler/setup – FIXED”

  1. For some reason it did not work for me it was like chain of errors . I installed new one from metasploit github easy one liner code.

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share via
Copy link
Powered by Social Snap