问题描述
我最近将Mac升级到了 High Sierra
I recently upgraded my Mac to High Sierra
升级后,Macvim(mvim)停止工作,因为(我假设)HighSierra将ruby升级到了2.3,而mvim使用的是ruby 2.0.
After the upgrade, Macvim (mvim) stopped working because (I assume) HighSierra upgraded ruby to 2.3, and mvim is using ruby 2.0.
以下是我遇到的错误
引用自:/usr/local/Cellar/macvim/8.0-134/MacVim.app/Contents/bin/../MacOS/Vim
我是否需要再次编译vim或有什么方法可以解决此问题?
Do I need to compile vim again or is there any way to fix this problem?
谢谢.
推荐答案
这对我有用.青年汽车brew uninstall --purge macvimbrew install macvim
This worked for me. YMMVbrew uninstall --purge macvimbrew install macvim
[已修正]关于单独的upgrade
选项,如果您还没有当前版本,该选项可能会起作用. --purge
强制删除并完全重新安装.另外,build from source
选项可能会起作用,但您现在拥有自己的mac-vim静态快照,并且需要在应用程序演变时手动进行维护.除非您有非常特殊的需求,否则我将避免从源代码进行构建.
[amended] Regarding the upgrade
alone option, that may work if you don't have the current version already. The --purge
forces a removal and complete reinstall.Also, the build from source
option, while it may work, you now own your own mac-vim static snapshot and need to maintain it manually as the app evolves.I'd avoid building from source unless you have very specific needs.
这篇关于Mac High Sierra上的vim ruby不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!