Normally when I run a rails app from the console during development I can just press Ctrl + C and it exits. Then I can run the app again, thus bouncing it and effecting changes.
我正在运行一个 sinatra 应用程序。我只是运行 ruby 文件。
$: ruby myapp.rb
When I press Ctrl+C, however, it won't stop the app. I've had to bring up the Ubuntu System Monitor and kill the Ruby process. Very annoying.
有人见过这个/处理过这个吗?
我安装了“薄”宝石,效果很好。
显然 sinatra + Webrick 是不可阻挡的。
(另外,运行 Ubuntu 11.04。)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)