Nokogiri with Rails4 & Ruby2.0 issue on OSX
If you found your self with a trace like
/Users/pablo/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb
Extracting libxml2-2.8.0.tar.gz into tmp//ports/libxml2/2.8.0... OK
Running 'configure' for libxml2 2.8.0... ERROR, review 'tmp//ports/libxml2/2.8.0/configure.log' to see what happened
setting up a Rails4 app that requieres Nokogiri try:
NOKOGIRIUSESYSTEM_LIBRARIES=1 bundle install
works like charm for me.
Cheers!
Written by Pablo Formoso Estrada
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Issue
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#