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 trialKathryn Gilbert
5,122 PointsWrite Your First Test - _spec.rb failed
Hi, I'm watching the video titled "Write Your First Test" in the 'Build a Todo List Application with Rails 4' video series. I'm at the part where I just need to run a test and I got the following error:
/Users/katiegilbert/.rvm/rubies/ruby-2.2.1/bin/ruby -I/Users/katiegilbert/.rvm/gems/ruby-2.2.1/gems/rspec-core-3.4.4/lib:/Users/katiegilbert/.rvm/gems/ruby-2.2.1/gems/rspec-support-3.4.1/lib /Users/katiegilbert/.rvm/gems/ruby-2.2.1/gems/rspec-core-3.4.4/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
Katies-MacBook-Air:testapp katiegilbert$
I tried updating rspec-rails to solve the issue but it doesn't look like this is the issue. Any other ideas?
Kathryn Gilbert
5,122 PointsThanks Simon. Yes, it would help to do that. I was able to figure out that I needed to update my version of capybara though!
Simon Coates
28,694 PointsGlad you worked it out. So it was just the local machine, not a shortfall with the video.
Kathryn Gilbert
5,122 PointsThe video says to install an older version of capybara. I should have looked up what the newest stable version was because I think the video is a bit older.
Simon Coates
28,694 PointsSimon Coates
28,694 Pointsat risk of coming across as hopelessly naive given my absolute lack of knowledge about ruby (my ignorance is uncompromising and has a completeness that a collector would love), is this something that could benefit from posting code or a treehouse workspace snapshot? That message seems very unspecific.