[英]ERROR: Failed to build gem native extension when installing Sablon gem
我正在嘗試安裝和使用Sablon紅寶石寶石。 我已經安裝了xcode命令行開發人員工具。 但是,我繼續收到以下錯誤:
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
關於這里可能發生什么的任何想法?
嘗試
gem install sablon -- --use-system-libraries=true
如果它不起作用,請問您如何安裝xcode命令行工具?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.