I just got into rails programming and it looks like there are two programs I can use to run my project locally: rackup and foreman.One difference I noticed is that foreman will not output some things that I would expect to see and I would see if I ran rackup instead, until I press ctrl+c to close the server. Then all those messages appear, as if they were being hidden.Is there a reason for this? How can I get foreman to be more verbose? 解决方案 you can fix this by putting the following code in your development.rb file:$stdout.sync = truehttp://github.com/ddollar/foreman/wiki/Missing-Output 这篇关于为什么 Foreman 在我按下 Control-C 之前不输出一些东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-22 18:41
查看更多