An update to rake that was pushed today results in the error message "Could not find rake-10.4.2" when you run msfconsole. "rake --version" shows the version number as 10.5.0. Edit: Rolled back, placed rake on hold, same error. See edits below.
Even after removing 10.5 and reinstalling rake 10.4.2, msfconsole does not seem to want to work.
Code:
root@kail:/usr/share/metasploit-framework# gem uninstall -i /usr/share/rubygems-integration/all rake
Remove executables:
rake
in addition to the gem? [Yn] n
Executables and scripts will remain installed.
Successfully uninstalled rake-10.5.0
root@kail:/usr/share/metasploit-framework# gem install rake -v '10.4.2'
Fetching: rake-10.4.2.gem (100%)
Successfully installed rake-10.4.2
Parsing documentation for rake-10.4.2
Installing ri documentation for rake-10.4.2
Done installing documentation for rake after 1 seconds
1 gem installed
root@kail:/usr/share/metasploit-framework# msfconsole
Could not find rake-10.4.2 in any of the sources
Run `bundle install` to install missing gems.
root@kail:/usr/share/metasploit-framework# rake --version
rake, version 10.4.2
root@kail:/usr/share/metasploit-framework#
Edit: Rolled back my VM and placed rake on hold, but I receive the same error.
Code:
root@kali:~# apt-mark hold rake
rake set on hold.
<-- updates -->
oot@kali:~# msfconsole
Could not find rake-10.4.2 in any of the sources
Run `bundle install` to install missing gems.
root@kali:~# rake --version
rake, version 10.4.2