我在AWS上使用capistrano部署了我的应用程序,使用Nginx和unicorn.当我打开我的主页时,它是空的.这是我的独角兽日志
Started GET "/" for 111.111.111.111 at 2014-03-10 12:50:02 +0000 Processing by StaticController#index as HTML Completed 500 Internal Server Error in 236ms ActionView::MissingTemplate (Missing template static/index with {:locale=>[:en],:formats=>[:html],:handlers=>[:erb,:builder,:coffee,:haml]}. Searched in: * "/home/deployer/apps/my-app/releases/20140310084512/app/views" * "/home/deployer/apps/my-app/shared/bundle/ruby/1.9.1/gems/twitter-bootstrap-rails-2.2.8/app/views" * "/home/deployer/apps/my-app/shared/bundle/ruby/1.9.1/gems/glimpse-redis-1.1.0/app/views" * "/home/deployer/apps/my-app/shared/bundle/ruby/1.9.1/gems/glimpse-git-1.0.1/app/views" * "/home/deployer/apps/my-app/shared/bundle/ruby/1.9.1/gems/glimpse-0.0.5/app/views" * "/home/deployer/apps/my-app/shared/bundle/ruby/1.9.1/gems/kaminari-0.15.1/app/views" * "/home/deployer/apps/my-app/shared/bundle/ruby/1.9.1/gems/devise-3.2.3/app/views" * "/home/deployer/apps/my-app/releases/20140310124541" * "/" ): app/controllers/static_controller.rb:8:in `index'
我的最新版本是20140310124541,但缺少的模板错误来自之前的版本20140310084512.可能是什么问题.正确创建当前文件夹符号链接.
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。