2012-07-30 8 views
6

Rails 3.0プロジェクトでOSX Mountain Lionを実行しています。ffi(1.1.2)のインストール中にエラーが発生し、Bundlerを続行できません。

のRailsプロジェクトでバンドラと私の宝石を更新しようとしたとき、私は、次のerrrorを得る:

An error occured while installing ffi (1.1.2), and Bundler cannot continue. 
Make sure that `gem install ffi -v '1.1.2'` succeeds before bundling. 

ERROR: Error installing ffi: 
    ERROR: Failed to build gem native extension. 

     /Users/victorstan/.rvm/rubies/ruby-1.9.2-p320/bin/ruby extconf.rb 
checking for ffi.h... *** extconf.rb failed *** 
Could not create Makefile due to some reason, probably lack of 
necessary libraries and/or headers. Check the mkmf.log file for more 
details. You may need configuration options. 

... 

You have to install development tools first. 

私はXCodeのインストールだけでなく、コマンドラインツールを持っています。

答えて

関連する問題