每当我尝试从Github运行rake db:migrate到克隆项目时,我都会收到同样的错误

时间:2010-10-12 10:20:00

标签: ruby-on-rails github

我在Github上克隆一个项目,然后运行rake db:migrate,我收到此错误(项目名称为mini_fb_demo):

$ git clone http://github.com/appoxy/mini_fb_demo.git
Initialized empty Git repository in /Users/ben/rails_projects/mini_fb_demo/.git/
remote: Counting objects: 102, done.
remote: Compressing objects: 100% (91/91), done.
remote: Total 102 (delta 24), reused 0 (delta 0)
Receiving objects: 100% (102/102), 77.94 KiB | 47 KiB/s, done.
Resolving deltas: 100% (24/24), done.
$ cd mini_fb_demo/
$ ls
README.markdown Rakefile    app     config      db      doc     public      script      test
$ rake db:migrate
(in /Users/ben/rails_projects/mini_fb_demo)
rake aborted!
No such file or directory - /Users/ben/.minifb-demo-config.yml

造成这种情况的原因是什么?我感谢您的阅读。

1 个答案:

答案 0 :(得分:3)

请阅读项目here的Wiki。您需要创建那里指定的minifb-demo-config.yml文件。