2012-07-30 27 views
6

Chạy OSX Mountain Lion, trong dự án Rails 3.0.Đã xảy ra lỗi khi cài đặt ffi (1.1.2) và Bundler không thể tiếp tục

Khi cố gắng cập nhật đá quý của tôi với bundler trong một dự án Rails tôi nhận được errror sau:

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. 

Tôi có XCode cài đặt cũng như các công cụ dòng lệnh.

Trả lời

Các vấn đề liên quan