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 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!