Open link in a new tab

Content

Expand project menu

Apple OSX - Mavericks openproject bundle install fails with an error while installing nokogiri

Help, Apple OSX - Mavericks openproject bundle install fails with an error while installing nokogiri.

I get the following error:

An error occured while installing nokogiri (1.5.11), and Bundler cannot continue.
Make sure that `gem install nokogiri -v ‘1.5.11’` succeeds before bundling.

I then tried the gem install and get the following

sudo gem install nokogiri -v ‘1.5.11’
Building native extensions. This could take a while…
ERROR: Error installing nokogiri:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
checking for libxml/parser.h… no
——-
libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
——-

should I just attempt to install libxml2 like nokogiri site shows or do I need a specific version?

Please advise.

Thanks

Nick

pikarsky ‘at’ miami.edu