在模式生产中部署时,出现缺少模板错误/ file_not_found的问题

时间:2018-10-04 12:33:46

标签: ruby-on-rails ruby rubygems

我有2台服务器(1个测试,1个发行版)。在测试服务器中:我已成功部署(生产模式):一切正常。 但是当我在服务器版本中部署时,它会显示一条错误消息并呈现一个错误页面

错误消息:

Error during failsafe response: Missing template errors/file_not_found, application/file_not_found with {:locale=>[:en], :formats=>[:jpeg], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder, :axlsx]}. Searched in:
  * "C:/Users/MyPC/Desktop/ToolInternal/app/views"
  * "C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/bootstrap-kaminari-views-0.0.5/app/views"
  * "C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/kaminari-core-1.1.1/app/views"
  * "C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/devise-4.4.3/app/views"

如果您需要更多信息,请发表评论

0 个答案:

没有答案