heroku rake db:migrate > no such file to load — faker

后端 未结 3 1730
悲&欢浪女
悲&欢浪女 2020-12-30 04:09

I\'m trying to deploy a rails 3 app to heroku for the first time. It seems to push up ok but when I try to run

heroku rake db:migrate

I get

3条回答
  •  情话喂你
    2020-12-30 04:50

    I too commented out require 'faker' in the lib/tasks/sample_data.rake file and (After committing this change via git) pushed the files to heroku, which allowed $heroku rake db:migrate --app to successfully execute, and ergo the heorku site began working again.

    Thanks!

提交回复
热议问题