Can't stop WEBrick 1.3.1 with ctrl-c on Ubuntu 11.04

前端 未结 13 1820
终归单人心
终归单人心 2020-12-05 02:43

I\'m using RVM, Ruby 1.9.2, and Rails 3.0.7

A standard kill of the process from another terminal doesn\'t work, either, but kill -9 does, of course.

I found

13条回答
  •  失恋的感觉
    2020-12-05 03:06

    My last answer was deleted don't know why but i try again cause i really think this is very related with the issue.

    In my Gemfile I have only one gem which is using the argument :git.

    gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
    

    I have the same issue af all of you, ctrl+C is ignored; but if i delete this gem dependency, (and I delete de related initializer) the issue is gone and i can use ctrl+c as before.

    I could think it is a bug related with rails_admin gem but as I read in this other question: CTRL+C to Webbrick server ignored its more likely to be related with any gem in which the :git parameter is used...

    Hope its helpful.

提交回复
热议问题