0
將rails從4.0.3升級到4.1.9後,啓動WEBrick,在瀏覽器中成功加載我的應用程序的頁面,但沒有任何顯示在終端窗口中。沒有SQL,沒有渲染報告,甚至沒有提到500服務器錯誤。從Rails 4.0.3升級到4.1後,WEBrick不再打印任何東西到服務器控制檯
它加載的WEBrick運行通常的通知:
$ rails s
=> Booting WEBrick
=> Rails 4.1.9 application starting in local on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
[2015-01-15 15:47:22] INFO WEBrick 1.3.1
[2015-01-15 15:47:22] INFO ruby 2.0.0 (2013-06-27) [x86_64-darwin12.3.0]
[2015-01-15 15:47:22] INFO WEBrick::HTTPServer#start: pid=1122 port=3000
什麼也沒有改變,除了鐵軌升級,在我的Gemfile定義版本號和運行bundle update rails
完成。我試過在我的環境配置文件中設置config.log_level = :debug
,但沒有愛。有任何想法嗎?