Troubleshooting
Soluzioni ai problemi più comuni durante la configurazione dell'ambiente di sviluppo.
🍎 macOS Specific Issues
Homebrew Issues
Problema: Homebrew non trovato dopo installazione
# Soluzione: Aggiungi al PATH
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
# Per macOS Intel
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.zshrcProblema: Permessi negati su Homebrew
# Fix permessi Homebrew
sudo chown -R $(whoami) /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions
# Per macOS Intel
sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functionsProblema: Xcode Command Line Tools mancanti
asdf Issues
Problema: asdf non funziona
Problema: Ruby build failure su macOS
VS Code Issues
Problema: code command non trovato
🪟 Windows/WSL Issues
WSL2 Setup Issues
Problema: WSL2 non si avvia
Problema: Virtualizzazione non supportata
Network Issues in WSL
Problema: DNS non funziona in WSL
Problema: Port forwarding non funziona
File System Performance
Problema: Lentezza file system
🐧 Linux Issues
Package Manager Issues
Problema: Repository non trovati
Problema: GPG key errors
Permission Issues
Problema: Docker permission denied
Problema: npm global permission issues
🗄️ Database Issues
PostgreSQL Issues
Problema: PostgreSQL non si avvia
Problema: Authentication failed
Problema: Database creation fails
Redis Issues
Problema: Redis non raggiungibile
Problema: Redis bind error
💎 Ruby/Rails Issues
Ruby Installation Issues
Problema: Ruby build failure
Problema: Native extension compilation errors
Rails Issues
Problema: Rails server non si avvia
Problema: Database connection error
Problema: Asset compilation failures
🐳 Docker Issues
Docker Installation Issues
Problema: Docker daemon not running
Problema: Docker permission denied
Docker Compose Issues
Problema: docker-compose not found
Problema: Port already in use
🌐 Network & Connectivity Issues
Git/GitHub Issues
Problema: SSH key authentication fails
Problema: HTTPS authentication issues
SSL/TLS Issues
Problema: SSL certificate verification failed
🔧 Performance Issues
Slow Terminal/Shell
Problema: Shell lento all'avvio
Slow Git Operations
Problema: Git operazioni lente
Memory Issues
Problema: Sistema lento/out of memory
📝 Environment Variables Issues
Problema: Variables non persistenti
Problema: PATH conflicts
🆘 Emergency Recovery
Reset Completo Ambiente
📞 Getting Help
Quando tutti gli altri tentativi falliscono:
Verifica la documentazione ufficiale dello strumento specifico
Cerca l'errore esatto su Google/Stack Overflow
Controlla i log del sistema:
Crea un ambiente di test isolato (Docker/VM)
Chiedi aiuto al team con informazioni dettagliate:
Sistema operativo e versione
Comando esatto che fallisce
Messaggio di errore completo
Steps per riprodurre il problema
🔍 Debug Tools
System Information
Development Environment Debug
Usa questi strumenti per diagnosticare problemi e fornire informazioni utili quando cerchi aiuto.
Last updated
Was this helpful?