Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/65.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Heroku-We';I’很抱歉,出了点问题_Ruby On Rails_Heroku - Fatal编程技术网

Ruby on rails Heroku-We';I’很抱歉,出了点问题

Ruby on rails Heroku-We';I’很抱歉,出了点问题,ruby-on-rails,heroku,Ruby On Rails,Heroku,我在我的命令上运行了heroku run rake db:migrate,但它仍然给我这个错误。 有人能解释一下吗 这是我的heroku日志: 2014-07-29T02:11:15.351274+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by huicheese@ gmail.com

我在我的命令上运行了
heroku run rake db:migrate
,但它仍然给我这个错误。 有人能解释一下吗

这是我的heroku日志:

2014-07-29T02:11:15.351274+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by huicheese@
gmail.com                                                                                                              
2014-07-29T02:11:19.242381+00:00 heroku[run.5786]: State changed from starting to up                                   
2014-07-29T02:11:19.316545+00:00 heroku[run.5786]: Awaiting client                                                     
2014-07-29T02:11:19.361370+00:00 heroku[run.5786]: Starting process with command `bundle exec rake db:migrate`         
2014-07-29T02:11:23.580801+00:00 heroku[run.5786]: Process exited with status 1                                        
2014-07-29T02:11:23.594149+00:00 heroku[run.5786]: State changed from up to complete                                   
2014-07-29T02:11:32.583627+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by huicheese@
gmail.com                                                                                                              
2014-07-29T02:11:36.430861+00:00 heroku[run.3911]: State changed from starting to up                                   
2014-07-29T02:11:36.313894+00:00 heroku[run.3911]: Starting process with command `bundle exec rake db:migrate`         
2014-07-29T02:11:36.278413+00:00 heroku[run.3911]: Awaiting client                                                     
2014-07-29T02:11:40.389711+00:00 heroku[run.3911]: State changed from up to complete                                   
2014-07-29T02:11:40.378758+00:00 heroku[run.3911]: Process exited with status 1                                        
2014-07-29T02:21:27.602871+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by huicheese@
gmail.com                                                                                                              
2014-07-29T02:21:31.169511+00:00 heroku[run.1298]: State changed from starting to up                                   
2014-07-29T02:21:34.352865+00:00 heroku[run.1298]: State changed from up to complete                                   
2014-07-29T02:21:30.975817+00:00 heroku[run.1298]: Awaiting client                                                     
2014-07-29T02:21:31.014523+00:00 heroku[run.1298]: Starting process with command `bundle exec rake db:migrate`         
2014-07-29T02:21:34.344857+00:00 heroku[run.1298]: Process exited with status 1                                        

错误是否也在本地发生,还是仅在Heroku上发生?还有,这是完整的日志还是更多的日志?我没发现那条线索有什么错误,只有在heroku身上。还有更多,但我也看不到任何错误……你在跟踪中看到类似于heroku[router]:at=error的东西了吗?另外,在部署到Heroku之前,您是否在本地预编译您的资产,或者在
production.rb
中是否有
config.assets.compile=true
?是否有
Procfile
?@mmichael是的,我将其视为true。我没有看到heroku[路由器]:at=错误。