heroku应用程序错误,可能设计

时间:2014-10-14 13:56:03

标签: ruby-on-rails heroku devise

在尝试在heroku中打开我的应用时,我得到以下屏幕说:


Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.

包含错误的日志如下:

  

2014-10-14T13:43:20.222314 + 00:00 heroku [router]:at = error code = H10   desc =“App崩溃”方法= GET path =“/”   主机= dry-reaches-7872.herokuapp.com   request_id = 5356a97b-0f65-4af0-947b-fe1c42418c1d fwd =“74.118.24.162”   dyno = connect = service = status = 503 bytes =   2014-10-14T13:43:20.334555 + 00:00 heroku [router]:at =错误代码= H10   desc =“App crashed”method = GET path =“/ favicon.ico”   主机= dry-reaches-7872.herokuapp.com   request_id = 768945b5-b9b6-4a0b-ba4f-fa0e389d4a29 fwd =“74.118.24.162”   dyno = connect = service = status = 503 bytes =   2014-10-14T13:47:16.518787 + 00:00 heroku [router]:at =错误代码= H10   desc =“App崩溃”方法= GET path =“/”   主机= dry-reaches-7872.herokuapp.com   request_id = 3931e254-4f51-4c90-954a-6bbbf4fe4298 fwd =“74.118.24.162”   dyno = connect = service = status = 503 bytes =   2014-10-14T13:47:16.734809 + 00:00 heroku [router]:at =错误代码= H10   desc =“App crashed”method = GET path =“/ favicon.ico”   主机= dry-reaches-7872.herokuapp.com   request_id = 69b7e4bb-3953-46af-b608-1625c7556152 fwd =“74.118.24.162”   dyno = connect = service = status = 503 bytes =

我尝试在我的项目中使用devise进行身份验证但是失败了,我认为错误是来自设计的一些代码

1 个答案:

答案 0 :(得分:0)

您应该在Gemfile中包含devise gem。将此行添加到您的Gemfile并运行 bundle install

gem 'devise'