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
Sebastian Velandia
24,676 PointsBundler could not find compatible versions for gem "capybara":
Im trying to install gem capybara-email
I tried with the version Jason shows in the video '2.2.0'
but I get this message
Bundler could not find compatible versions for gem "capybara":
In Gemfile:
capybara-email (~> 2.2.0) ruby depends on
capybara (~> 2.1.0) ruby
capybara (2.3.0)
I tried changing the version of capybara-email but I got similar messages, then I just decided type the gem name only
gem 'capybara-email'
then ran bundle and it only installed 1.0.1 version of capybara-email
but trying to reproduce the tests that Jason did in the video I get errors like
Failure/Error: open_email(user.email)
NoMethodError:
undefined method `open_email' for #<RSpec::ExampleGroups::ForgottenPasswords:0xbbdd78fc>
of course I added the require to the spec_helper file but I do not know what's wrong