背景:爲了運行localhost作爲SSL,我跟着instructions at this site如何使`thin`網絡服務器打印日誌到標準輸出
建立SSL證書來運行本地軌服務器後,該網站說要:
thin start --ssl <some more options>
當我這樣做,我注意到我不再看到打印到STDOUT的Rails日誌。
如何將--ssl
和其他選項通過thin
?這不起作用:
bundle exec rails s thin --ssl
.../rails/commands/server.rb:33:in `parse!':
invalid option: --ssl (OptionParser::InvalidOption)
另外,我怎麼能得到thin
輸出Rails日誌輸出到標準輸出?
相關:http:// stackoverflow。 com/a/7829852/1505348 – Lucio