1. apt-get remove metasploit-framework
2. apt-get install metasploit-framework
3. apt-get install ruby
4. apt-get install openssl
5. cd /usr/share/metasploit-framework# bundle install
6. Profit.

PS: Wird bestimmt auch laufen wenn du nur alleine openssl installierst aber ich würde alles neu drauf machen damit keine Fehler entstehen