I Can Not Use the Command Gvim in Terminal
When I Entry Gvim, It Will Be: Dyld: Library Not Loaded: /System/Library/Frameworks/ Referenced from: /Usr/Local/Cellar/Macvim/8.0-126/ Reason: Image Not Found...
When I entry gvim,it will be:
dyld: Library not loaded: /System/Library/Frameworks/
Referenced from: /usr/local/Cellar/macvim/8.0-126/
Reason: image not found
Abort trap: 6
How can I deal with it ?
1 Answer
Have you recently upgraded your macOS? Maybe you're using a different Ruby version (2.3 instead of the 2.0 you were supposed to have).
You can either try to update your current version:
brew update
brew upgrade gvim
Or directly uninstall and re-install gvim:
brew uninstall --purge gvim
brew install gvim
If any of those solutions works fine for you, I've also found a similar case on Stackoverflow with your same issue on this link.