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.
Still showing could not locate gem file
Not works
Not working
no working
not work
It’s showing like this (Gem::GemNotFoundException)
What can I do?
My error $gem install bundle
I try your code
And
could not locate Gemfile
Solve my problem I can’t run msfconsole