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

Deleted User

Ruby on Rails Rake not working for cucumber

C:\Sites\project>rake cucumber:ok rake aborted! Don't know how to build task 'cucumber:ok'

Not sure how to resolve this

5 Answers

@Anthony Are you in the actual project directory and not just in the projects directory (where all your 'apps' would be placed)?

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Are you working on a project with Cucumber installed? Can you give us any more information?

Deleted User

Would you like me to send the protect or is that to much info. The project does have cucumber installed but I am still really new, probably a simple mistake. Even though I am not trying to run a feature could having the feature in the wrong directory or with syntax errors cause this?

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

The error seems to be with the rake task being missing, not a syntax error just yet. What happens if you run rake cucumber?

Deleted User

Appears to be the same error, maybe I did mess up installing the gem some how.