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.
I am running a sinatra app. I just run the ruby file.
$: 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.
Anyone seen this/dealt with this before?
I installed the 'thin' gem and it works fine.
Apparently sinatra + Webrick is unstoppable.
(Also, running Ubuntu 11.04.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With