Forum Thread: 'Metasploit Requires the Bundler Gem to Be Installed' Error

'Metasploit Requires the Bundler Gem to Be Installed' Error

I have been getting this error while running './msfconsole'.

root@keller-desktop:/opt/metasploit-framework# ./msfconsole
* Metasploit requires the Bundler gem to be installed
$ gem install bundler

I have searched the net and performed the following trobleshooting but with no luck.

''root@keller-desktop:/opt/metasploit-framework# gem install bundler
Fetching: bundler-1.5.3.gem (100%)
Successfully installed bundler-1.5.3
1 gem installed
Installing ri documentation for bundler-1.5.3...
Installing RDoc documentation for bundler-1.5.3...'

'root@keller-desktop:/opt/metasploit-framework# bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Installing rake (10.2.2)
Installing i18n (0.6.9)
Installing multijson (1.0.4)
Installing activesupport (3.2.17)
Installing builder (3.0.4)
Installing activemodel (3.2.17)
Installing arel (3.0.3)
Installing tzinfo (0.3.39)
Installing activerecord (3.2.17)
Installing bcrypt (3.1.7)
Installing bcrypt-ruby (3.1.5)
Installing database
cleaner (1.2.0)
Installing diff-lcs (1.2.5)
Installing factorygirl (4.4.0)
Installing fivemat (1.2.1)
Installing json (1.8.1)
Installing pg (0.17.1)
Installing metasploit
datamodels (0.17.0)
Installing mini
portile (0.5.3)
Installing msgpack (0.5.8)
Installing networkinterface (0.0.1)
Installing nokogiri (1.6.1)
Installing packetfu (1.1.9)
Installing pcaprub (0.11.3)
Installing redcarpet (3.1.1)
Installing robots (0.10.1)
Installing rspec-core (2.14.8)
Installing rspec-expectations (2.14.5)
Installing rspec-mocks (2.14.6)
Installing rspec (2.14.1)
Installing shoulda-matchers (2.5.0)
Installing simplecov-html (0.5.3)
Installing simplecov (0.5.4)
Installing timecop (0.7.1)
Installing yard (0.8.7.4)
Using bundler (1.5.3)
Your bundle is complete!
Use `bundle show gemname` to see where a bundled gem is installed.
Post-install message from bcrypt-ruby:

#######################################################

The bcrypt-ruby gem has changed its name to just bcrypt. Instead of
installing `bcrypt-ruby`, you should install `bcrypt`. Please update your
dependencies accordingly.

#######################################################"

I have also tried " gem update --system", "sudo apt-get install rubygems"
well basically eveything i could think of. The result is still the same.

Can someone help me with this issue.

3 Responses

Okay now i have another issue. While firing up Metasploit it shows an error that the factorygirl is missing.

So as suggested i tried to run 'bundle install'

so i checked my ruby and gem versions.

tried to install factorygirl version '4.2.0' individually

NOW WHAT DID I MISS. Why is METASPLOIT toying with me like this.....???
HELPPPPPP.....

root@kali:/usr/share/metasploit-framework# msfconsole
Could not find actionpack-4.0.13 in any of the sources
Run `bundle install` to install missing gems.
root@kali:/usr/share/metasploit-framework#

I am getting this error, please help. :(

Share Your Thoughts

  • Hot
  • Active