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
    Permalink

    It works perfectly now, thanks for your help

    Reply
  • March 19, 2020 at 8:39 pm
    Permalink

    Thanks dude you are a life saver.

    Reply
  • March 1, 2020 at 2:55 am
    Permalink

    Great writeup, thanks!

    Reply

Tell us what you think!

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

%d bloggers like this: