← All Kali Issues
Metasploit

Ruby gem error

I Installation High

🔴 Error Message

Gem::LoadError or Bundler error on startup

📖 What This Means

Ruby dependency conflict preventing Metasploit from loading.

🔧 Step-by-Step Fix

  1. Fix gems: cd /usr/share/metasploit-framework && bundle install
  2. Reinstall: sudo apt install --reinstall metasploit-framework
  3. Check Ruby: ruby --version