我刚刚将我的 Rails 应用程序从开发服务器移到了部署服务器。我已经安装了乘客,但我想尝试rails s
确保一切运行良好(这是我第一次开发和部署 Rails 应用程序)。
规格是:带有 RVM 的 Ruby 1.9.3、mod_passenger、Rails 3.2.3。所有安装正确,我还启用了 Apache 模块。顺便说一句,出了点问题(乘客一直说“错误消息:未知键:类”。)
运行rails s
给出了上面列出的奇怪错误dump format error for symbol(0x45)
Processing by Devise::SessionsController#new as HTML
Rendered devise/_links.haml (2.2ms)
Rendered devise/sessions/new.html.haml within layouts/application (11.8ms)
Completed 500 Internal Server Error in 110ms
ActionView::Template::Error (dump format error for symbol(0x45)):
8: / HTML5 shim, for IE6-8 support of HTML elements
9: /[if lt IE 9]
10: = javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
11: = stylesheet_link_tag "application", :media => "all"
12: /%link(href="images/favicon.ico" rel="shortcut icon")
13: /%link(href="images/apple-touch-icon.png" rel="apple-touch-icon")
14: /%link(href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72")
app/views/layouts/application.html.haml:11:in `_app_views_layouts_application_html_haml__3524679841439843142_22055600'
这是什么意思?谷歌搜索似乎是一个 flash[] 错误,但我真的不明白我应该在这里做什么。
等待一些建议,谢谢!