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

Gem file nokogiri 1.6.1

Gem files will remain installed in for inspection... An error occurred while installing nokogiri 1.6.1 and the bundle cannot continue. Make sure that 'gem install nokogiri 1.6.1' succeeds before bundling. I followed exactly what the instruction did when setting up ruby on rails, everything matches correct up until now. This is becoming frustrating. Any help?

4 Answers

I spent days banging my head against the wall, If you are using a mac then Install Maverick and command line tools and then use brew to install gcc, then nokogiri installed straight away.. smarter people than me discussing it here http://effectif.com/ruby/installing-nokogiri-on-mavericks

I thank you for the response. However, this does not help me as I am a Windows user (8.1). Again I appreciate the help I guess I just can't complete this tutorial.

Keep trying David thats all i can say.. I was a month trying to get it fixed... I keep learning, then realising how much more I need to learn. stackoverflow is always good for this type of thing

David I had the same problem I take it you were trying to do the odot project adding in capybara and rspect. gems I commented out the capybara gem, ran bundler, then UN-commented capybara and re ran bundler it then worked. it might have been a time out issue.

sorry I was a little premature with this nokogiri is still not supported by on x64 systems

Sorry I was a little pre-mature on that last post x64 isn't completely supported visit
https://github.com/sparklemotion/nokogiri/issues/864