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
Alexandra M
1,779 Pointsrake db:migrate
Hello, I get this error after i type in rake db:migrate.
rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
What is going on? Thank you! Much appreciated...
4 Answers
Lee Hughes
8,380 PointsAre you within your project folder when doing the rake?
Jason Loughry
5,680 PointsI'd definitely recommend checking out The Console Foundations Deep Dive. It's very helpful stuff to know before starting any of the Ruby on Rails videos. Maybe even just go through the whole Web Developer Learning Adventure
Alexandra M
1,779 PointsLooks like it to me but I really am terrible at this- how can I check? Could this have anything to do with improper symlink setup? Thank you so much for responding.
Lee Hughes
8,380 PointsYou can type in pwd in terminal to check what directory you are in. If you're not in the directory that you are working in you can get there via the command cd and work your way into it.
e.g cd projects
cd treebook
you will then be in the treebook directory and you can try the rake again.
If you're in the directory and the rake doesn't work, let me know.
Alexandra M
1,779 PointsThank you so much to both of you- I managed to make it work thanks to your help - Will definitely check out the suggested deep dive too. :) X