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


rails 4.0 can't bundle 'gem install nokogiri' -v 1.6.1

Following the build a todo list lecture and i'm unable to bundle because of the gem install nokogiri error. I've tried installing it with no luck. Advise please.

3 Answers

Eddie Flores
Eddie Flores
9,110 Points

Are you installing it on your local computer or are you running the vagrant VM? If you type in the wrong thing in the vagrant VM you are liable to get an error when you bundle.

Hey eddie thanks for the reply. Im on local. I didnt install the VM

When I remove these from the gem file it works fine group :development, :test do

gem 'rspec-rails', '~> 2.0' end

group :test do gem 'capybara', '~>2.1.0' end