0
이 문제가 발생합니다.osx rvm ruby 1.8.7 nokogiri 1.4.1 - 오류 : 보석 기본 확장자를 빌드하지 못했습니다.
cat ~/.rvm/gems/ruby-1.8.7-p249/gems/nokogiri-1.4.1/ext/nokogiri/mkmf.log
는 시스템에서 발견되는 몇 가지 라이브러리의 경우이 오류 (잘림)
conftest.c:3: error: 'xmlParseDoc' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
를 제공합니다.
→ script/server --debugger
=> Booting Mongrel
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
The following gems have native components that need to be built
nokogiri
You're running:
ruby 1.8.7.249 at /Users/tommasop/.rvm/rubies/ruby-1.8.7-p249/bin/ruby
rubygems 1.3.6 at /Users/tommasop/.rvm/gems/ruby-1.8.7-p249, /Users/tommasop/.rvm/gems/ruby-1.8.7-p249%global
Run `rake gems:build` to build the unbuilt gems.
어떤 도움이 크게 감사 : 내가 수동으로
~/.rvm/gems/ruby-1.8.7-p249/gems/nokogiri-1.4.1/ext/nokogiri/
로 가서 컴파일하고 설치하는 경우
는 모든 스크립트/서버에있는 것을 제외하고
ruby extconf.rb
make
make install
mkdir -p /Users/tommasop/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/i686-darwin9.8.0/nokogiri
/usr/bin/install -c -m 0755 nokogiri.bundle /Users/tommasop/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/i686-darwin9.8.0/nokogiri
잘가 간다!