5
無論我在應用程序中遇到什麼錯誤,我都無法看到我的日誌中出現錯誤,我正在獲取以下所有錯誤的 消息,所以我無法解決我的錯誤,任何人都可以幫助我擺脫了這一點。NameError(未初始化的常量ActionDispatch :: ExceptionWrapper):
Completed 500 Internal Server Error in 729ms
NameError (uninitialized constant ActionDispatch::ExceptionWrapper):
Rendered /usr/share/ruby-rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
Rendered /usr/share/ruby-rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
Rendered /usr/share/ruby-rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.7ms)
ExceptionWrapper需要rails 3.2,但這種依賴沒有在gemspec –
中指定現在我不想要異常包裝..我怎麼能刪除這? – Abhiram