Somehow my Rails开发者_JS百科 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?
You can call rails again to re-generate your application. To avoid overwriting existing files use the -s or --skip option. So from the directory above your rails app:
rails my_app -s
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.
加载中,请稍侯......
精彩评论