我一直在努力在我的mac上安裝jekyll,對ruby或配置/調試這些消息不太瞭解。小牛10.9麻煩安裝寶石
我得到的運行時,下面的 「sudo的創業板安裝化身」
Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
make: *** No rule to make target `/include/universal-darwin13/ruby/config.h', needed by `porter.o'. Stop.
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/fast-stemmer-1.0.2 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/fast-stemmer-1.0.2/ext/gem_make.out
「的gcc --version」 返回如下:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
/Library/Ruby/Gems/2.0.0/gems/fast-stemmer-1.0.2/ext/gem_make.out的輸出是什麼? – Davidann
你升級了xcode嗎? – userxyz
我已經更新了xcode的5.0版本,輸出是剛剛登錄到文件中的相同消息。 –