rails bundle 报错:An error occurred while installing libxml-ruby (3.0.0), and Bundler cannot contin...

解决:

bundle config build.libxml-ruby -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libxml2/ --use-system-libraries

你可能感兴趣的:(rails bundle 报错:An error occurred while installing libxml-ruby (3.0.0), and Bundler cannot contin...)