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

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

  • March 19, 2020 at 10:56 pm

    It works perfectly now, thanks for your help

  • March 19, 2020 at 8:39 pm

    Thanks dude you are a life saver.

  • March 1, 2020 at 2:55 am

    Great writeup, thanks!


Tell us what you think!

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

%d bloggers like this: