Проблемы с установкой hpricot на Mac OS X. Я подозреваю, что это может быть проблемой между rvm и brew?Установите hpricot на Mac OS X с rvm и brew
РВМ 1.0.5 варева 0,7
Мысли? Предложения? Благодаря!
$ gem install hpricot
Building native extensions. This could take a while...
ERROR: Error installing hpricot:
ERROR: Failed to build gem native extension.
/Users/dhaskin/.rvm/rubies/ruby-1.8.7-p302/bin/ruby extconf.rb
checking for stdio.h... no
*** 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.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/dhaskin/.rvm/rubies/ruby-1.8.7-p302/bin/ruby
Gem files will remain installed in /Users/dhaskin/.rvm/gems/ruby-1.8.7-p302/gems/hpricot-0.8.2 for inspection.
Results logged to /Users/dhaskin/.rvm/gems/ruby-1.8.7-p302/gems/hpricot-0.8.2/ext/fast_xs/gem_make.out
Я бы предпочел нокогири себя ;-). hpricot является зависимостью от http://github.com/aasmith/ofx-parser. И у меня есть XCode, установленный в местоположении по умолчанию. Возможно, я продолжу копать какой-нибудь другой рубиновый OFX-парсер. Спасибо... – denishaskin