AnsweredAssumed Answered

msfupdate problem : related to gem bundler

Question asked by jintao on May 17, 2013
Latest reply on May 23, 2013 by jintao

hi all,

When I am trying to run msfconsole on my msf git install. I got the following error :-

sudo ./msfconsole

[*] Metasploit requires the Bundler gem to be installed

I did a gem install bundler, which returned a success.

But the error keeps coming back. I found that on my ubuntu machine, I have a ruby 1.8.3 install, actually the gem install bundler is by default installing the gem in the ubuntu ruby install and not the metasploit ruby installation.

 

the gem env output is as below :-

RubyGems Environment:

  - RUBYGEMS VERSION: 1.8.15

  - RUBY VERSION: 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]

  - INSTALLATION DIRECTORY: /var/lib/gems/1.8

  - RUBY EXECUTABLE: /usr/bin/ruby1.8

  - EXECUTABLE DIRECTORY: /usr/local/bin

  - RUBYGEMS PLATFORMS:

    - ruby

    - x86-linux

  - GEM PATHS:

     - /var/lib/gems/1.8

     - /home/nishith/.gem/ruby/1.8

  - GEM CONFIGURATION:

     - :update_sources => true

     - :verbose => true

     - :benchmark => false

     - :backtrace => false

     - :bulk_threshold => 1000

  - REMOTE SOURCES:

     - http://rubygems.org/

 

How to install the bundler gem for the metasploit install of ruby ?

thanks

jintao

Outcomes