1. Home
  2. Linux
  3. How to Fix Metasploit error – requires the bundler gem to be installed? [Solved]

How to Fix Metasploit error – requires the bundler gem to be installed? [Solved]

Question:

I was stuck with an error “Metasploit requires the bundler gem to be installed” while executing msfconsole from the Metasploit framework. The issue here is, I did tried installing bundler gem using ‘gem install bundler’, but still msfconsole script produces the same error.

Here’s the snapshot of the error message:

# ./msfconsole
[*] Metasploit requires the Bundler gem to be installed
    $ gem install bundler
# gem install bundler
Successfully installed bundler-1.12.5
Parsing documentation for bundler-1.12.5
1 gem installed
# ./msfconsole
[*] Metasploit requires the Bundler gem to be installed
 $ gem install bundler

How to solve this error?

Solution:

As suggested in the error message, you should run ‘gem install bundler’ and ‘bundle install’ commands.

$ gem install bundler
$  bundle install

After the successful completion of the above commands, try running msfconsole again.

Hope this solves the error.

Updated on September 2, 2017

Was this article helpful?

Related Articles

Leave a Comment