2016-11-18 14 views
0

Sablon ruby​​ gemをインストールして使用しようとしています。 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のコマンドラインツールをインストールする方法求めることができますか?

関連する問題