macvim-dev / macvim-dev/macvim

Macvim from Homebrew formula missing ruby@4.0

Offen Anfängerfreundlich
#1,697 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Vim Script
Sterne
7.9k
Forks
691
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Steps to reproduce

Install macvim via homebrew via brew install macvim and then either launch the macvim via GUI or terminal. The error message I got is:

dyld[20899]: Library not loaded: /opt/homebrew/opt/ruby@4.0/lib/libruby.4.0.dylib
Referenced from: <52A6DA3C-2DB7-33B3-B925-C83D0C432B8E> /opt/homebrew/Cellar/macvim/9.2.0321/MacVim.app/Contents/MacOS/Vim
Reason: tried: '/opt/homebrew/opt/ruby@4.0/lib/libruby.4.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/ruby@4.0/lib/libruby.4.0.dylib' (no such file), '/opt/homebrew/opt/ruby@4.0/lib/libruby.4.0.dylib' (no such file)

Expected behaviour

Launch correctly

Version of MacVim

9.2.0321

MacVim installation method

Homebrew formula: brew install macvim

Environment

macOS 26.6.2

Logs and stack traces
dyld[20830]: Library not loaded: /opt/homebrew/opt/ruby@4.0/lib/libruby.4.0.dylib
  Referenced from: <52A6DA3C-2DB7-33B3-B925-C83D0C432B8E> /opt/homebrew/Cellar/macvim/9.2.0321/MacVim.app/Contents/MacOS/Vim
  Reason: tried: '/opt/homebrew/opt/ruby@4.0/lib/libruby.4.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/ruby@4.0/lib/libruby.4.0.dylib' (no such file), '/opt/homebrew/opt/ruby@4.0/lib/libruby.4.0.dylib' (no such file)
Vim and MacVim configuration where issue is reproducable

No response

How was MacVim launched?
  • by launching MacVim.app in macOS (by using the Dock, Spotlight, or the open command)
  • by running mvim/gvim in the terminal
Issue has been tested with clean configuration
  • by running mvim --clean (or gvim, supplied by MacVim distribution). You can also use the File → "New Clean Window" menu item within MacVim.
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, den Fehler mit brew install macvim zu reproduzieren, und untersuche anschließend die Homebrew-Formula sowie deren Abhängigkeits- oder Build-Einstiegspunkte auf die fehlende Bibliothek ruby@4.0. Als erledigt gilt die Aufgabe, wenn ein sauberer Start von MacVim sowohl über MacVim.app als auch über mvim/gvim funktioniert, auch mit --clean.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
macos, ruby, vim
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
68/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.