jlong / radius

A small, but powerful tag-based template language for Ruby modeled after the ones used in MovableType and TextPattern. It has tags similar to XML, but can be used to generate any form of plain text (HTML, e-mail, etc...).
MIT License
101 stars 21 forks source link

Can't close rails application by Ctrl+C #7

Closed maxd closed 13 years ago

maxd commented 13 years ago

Hello,

I have noticed that the Radius has broken Rails applications closing by Ctrl+C.

Steps to reproduce: 1) Create empty Rails 3.0.8 app 2) Add the following string to Gemfile:

gem "radius", :git => "https://github.com/jlong/radius.git"

3) bundle install 4) rails s 5) Press Ctrl+C several times.

Application continue working.

Expected behaviour:

App should be closed after Ctrl+C

Additional Information:

Let me know if required additional information.

Thanks

saturnflyer commented 13 years ago

I have no idea why this could affect "Ctrl + C" but please try again with the latest from 958c40990f8ca33a3241 I wasn't able to bundle install before then.

maxd commented 13 years ago

I have found workaround here: http://stackoverflow.com/questions/5708329/ctrlc-to-webbrick-server-ignored

Need to use:

gem "radius", '0.7.0.prerelease'

instead of

gem "radius", :git => "https://github.com/jlong/radius.git"

Thanks.

saturnflyer commented 13 years ago

The prerelease gem and the latest code are equal. It should work either way now