2016-11-18 73 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命令行工具不起作用?

相關問題