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

Lee Hughes
Lee Hughes
8,380 Points

No route matches [GET] "/statuses"

Trying to run to status section on my local host when I keep getting

Routing Error

No route matches [GET] "/statuses" Try running rake routes for more information on available routes.

So I typed in rake routes to see what would happen and got the following:

Lee:treehouse leehughes$ rake routes rake aborted! You have already activated rake 10.0.3, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this.

Any ideas?

6 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Try running "bundle exec rake routes" and see if that helps.

Hello, I am having the very same problem. However, "bundle exec rake routes" shows nothing it only leaves a blank and the terminal just waits for further instruction. Please help.

I am having the same issue that Lee Hughes had, but running "bundle exec rake routes" did not help. Are there any others with the same problem that managed to solve this in a different way, then I would greatly appreciate your input, and/or do you have any other suggestions, Jason Seifer ? :)

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey AJ, can you push your project up to GitHub and send a link over to help@teamtreehouse.com and we'll take a look?

Hey Jason Seifer thanks so much for your quick reply :) I decided to go back and redo some of the steps from earlier along in the project. But, if the problem persists once I get back to this same point and I cannot figure out how to solve it, then I will push it up to Github and let you know. Thanks again and sorry for alerting you/asking you a bit premature.

Alice Kasper
Alice Kasper
4,362 Points

Hello!

I've just started with Treehouse and am having this same exact issue.. C:\Sites\treebook>rake db:create:all rake aborted! You have already activated rake 10.1.0, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this. C:/Sites/treebook/config/boot.rb:6:in <top (required)>' C:/Sites/treebook/config/application.rb:1:in<top (required)>' C:/Sites/treebook/Rakefile:5:in `<top (required)>' (See full trace by running task with --trace)

Even when I run the bundle exec rake routes command... Thank you in advance. I'm stumped~

Jason Seifer
Jason Seifer
Treehouse Guest Teacher

Hey Alice Karsevar can you try running "bundle exec rake db:create:all" and if it still doesn't work email the output to help@teamtreehouse.com?

I am having this exact same issue at the moment. I've tried the things mentioned above. Did you guys come to a solution?