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

General Discussion

[OSX Mavericks] Nokogiri Installation Fix

[Nokogiri Mavericks Fix]

This worked for me:

[Step 1]

Open your terminal and enter this command:

 xcode-select --install

[Step 2]

Make sure you have Homebrew installed like so:

Enter this command on your terminal:

 brew install wget

[Step 3]

Enter this command:

This installs a necessary library for Nokogiri.

brew install apple-gcc42

[Step 4]

Install Nokogiri

sudo gem install nokogiri

1 Answer

Samuel Allemang
Samuel Allemang
28,116 Points

Thank you so much!

This was baffling me.

No problem.