2016-11-18 72 views
0

我正在尝试安装并使用Sablon红宝石宝石。我已经安装了xcode命令行开发者工具。但是,我继续得到以下错误:错误:无法在安装Sablon gem时创建gem本机扩展

ERROR: Error installing sablon: 
    ERROR: Failed to build gem native extension. 

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb 
checking if the C compiler accepts ... yes 
checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no 
Building nokogiri using packaged libraries. 
Using mini_portile version 2.1.0 
checking for iconv.h... yes 
checking for gzdopen() in -lz... yes 
checking for iconv... yes 

有关可能会发生什么的任何想法?

回答

0

尝试

gem install sablon -- --use-system-libraries=true

如果我可以问你是如何安装的Xcode命令行工具不起作用?

相关问题