Bundler failed to load and returned this error

Kali更新系统以后,出现msf无法正常启动,提示:

[*] Bundler failed to load and returned this error:

   'cannot load such file -- bundler/setup'

[*] You may need to uninstall or upgrade bundler

 原因:更新系统后Kali默认安装的bundler为最新版本2.1.4。msfconsole依赖的版本为1.17.3。

解决方法:安装旧版本bundler1.17.3

root@kali:~# gem install bundler:1.17.3
原文地址:https://www.cnblogs.com/oliver-yt/p/13150515.html