我試圖安裝RB-inotify的使用以下命令安裝錯誤RB-inotify的安裝
sudo gem install rb-inotify
,我得到了以下錯誤
Building native extensions. This could take a while...
ERROR: Error installing rb-inotify:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:4:in `<main>'
Gem files will remain installed in /var/lib/gems/1.9.1/gems/ffi-1.8.1 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/ffi-1.8.1/ext/ffi_c/gem_make.out
任何幫助,將不勝感激,謝謝
其中是gemfile位置?抱歉,我是Ruby新手。 – YTKColumba 2013-05-02 17:51:06
gemfile在你的項目根目錄 – Shrikant1712 2013-05-03 04:29:06
所以我沒有一個與安裝相關的項目,我只是想爲一般的系統環境安裝rb-inotify ......或者不可能這麼做嗎? – YTKColumba 2013-05-03 17:01:25