当我尝试在 macOS Mojave (10.14.1)上使用 Ruby 支持(—— able-rubyinterp)构建 vim (8.1.0509)时,出现了错误:
In file included from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby.h:33:
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby/ruby.h:24:10: fatal error:
'ruby/config.h' file not found
#include "ruby/config.h"
我已经安装了 Xcode 10.1。
xcode-select -p
/Applications/Xcode.app/Contents/Developer