Somehow my Rails app doesn’t have a Rakefile. I don’t know if it lost it or what.
So when I run:
rake gems:refresh_specs
I get:
No Rakefile found
How do I generate a new Rakefile to refresh my gem specs?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can call
railsagain to re-generate your application. To avoid overwriting existing files use the-sor--skipoption. So from the directory above your rails app:It will list the changes it makes which should just be your missing rake file unless you’ve been a bit keen to delete other things.