0
在過去的幾天裏,我一直在試圖在我的機器上安裝Rails,它有Mavericks。Xcode 5和小牛隊的Rails失敗
每當我跑sudo gem install rails
我得到如下:
Building native extensions. This could take a while...
ERROR: Error installing rails:
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 `atomic_reference.o'. Stop.
我已經安裝使用的Xcode選--install Xcode的工具。我正在使用Xcode 5.安裝該工具沒有任何效果,並且我始終得到相同的錯誤。
這可能會有所幫助:http://dean.io/setting-up-a-ruby-on-rails-development-environment-on-mavericks/ – cortex