Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby

Thomas Myers
Thomas Myers
3,422 Points

Nokogirli is driving me nuts!

Started out using ruby and ruby on rails on my Mac OS X 10.9.3 but was getting this message "An error occurred while installing nokogiri (1.6.2.1), and Bundler cannot continue. Make sure that gem install nokogiri -v '1.6.2.1' succeeds before bundling." so I decided to try Treehouse VM went through the odot tutorial and ran into the same problem when trying to bundle. Any ideas how to fix?

2 Answers

Thomas Myers
Thomas Myers
3,422 Points

I fixed it. To get it to work via the Mac OS X 10.9.3 but I was unable to get it to work via Treehouse VM.

This how I did it:

install via terminal: xcode-select --install

then install a the gem: gem install nokogiri

note this did not fix Treehouse VM so if you are using that system it will not work.

you're a life saver, good sir.

Scott Judson
Scott Judson
4,799 Points

thanks for helping me finally get this fixed!