← 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
Found this useful? Share it.
Make it count. Join free to earn XP for what you read and solve, keep a streak, and track your progress.
Join free