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 trialJames White
6,159 PointsRunning test from Rails todo app: `require': cannot load such file -- rspect/autorun (LoadError)
I'm getting this error when I run bin/rake spec. A little lost as to how to fix it.
3 Answers
Kyle Daugherty
16,441 PointsLooks like you have typo. Try require 'rspec/autorun' instead of require 'rspect/autorun'
James White
6,159 PointsWhere is that coming from? At the command line I'm typing: bin/rake spec
which is what the video said to type in.
Kyle Daugherty
16,441 PointsCheck your spec_helper.rb file
James White
6,159 PointsNevermind I got it. The typo was in spec_helper.rb.