Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Thomas Salai
Thomas Salai
4,964 Points

An error occurred while installing nokogiri (1.6.0), and Bundler cannot continue.

Hello,

I have a problem with my first rail app bundle install.

My Development Environment: Mac OS X 10.8.5 with Ruby 2.0.0p247 + Rails 4.0 + RVM Tools

when I want to make "bundle install" I got the following error...

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/usr/local/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. *** 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.

An error occurred while installing nokogiri (1.6.0), and Bundler cannot

continue. Make sure that gem install nokogiri -v '1.6.0' succeeds before bundling.


How can I solve this probleme.?

Many thnaks in advance.

regards, Thomas