msf更新后启动失败解决方案
启动提示
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
Could not find io-console-0.5.6 in any of the sources
Run `bundle install` to install missing gems
进行gem更新
gem update --system
安装对应版本的bundler
gem install bundler -v 2.1.4
安装这些依赖
apt-get install ruby-dev
apt-get install postgresql
apt-get install libpcap-dev
apt-get install oracle*
apt-get install libsqlite3-dev
进入metasploit目录,执行bundle install 安装
cd /usr/share/metasploit-framework/
bundle install
启动成功