WEBBrick won't restart
After upgrading to Rubymine 4.0EAP stopping and starting webrick (using IDE) results in exception listed below.
Restarting IDE doesn't fix it; I have to reboot windoze.
Did I miss something?
Thanks,
Gordon
runnerw.exe C:\tools\ruby\Ruby187-p334\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) D:/projs/surveyProjs/cosedit/script/rails server -b 127.0.0.1 -p 3000 -e development
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://127.0.0.1:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-11-17 13:41:53] INFO WEBrick 1.3.1
[2011-11-17 13:41:53] INFO ruby 1.8.7 (2011-02-18) [i386-mingw32]
Exiting
[2011-11-17 13:41:53] WARN TCPServer Error: Only one usage of each socket address (protocol/network address/port) is normally permitted. - bind(2)
C:/tools/ruby/Ruby187-p334/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Only one usage of each socket address (protocol/network address/port) is normally permitted. - bind(2) (Errno::EADDRINUSE)
from C:/tools/ruby/Ruby187-p334/lib/ruby/1.8/webrick/utils.rb:73:in `new'
from C:/tools/ruby/Ruby187-p334/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners'
from C:/tools/ruby/Ruby187-p334/lib/ruby/1.8/webrick/utils.rb:70:in `each'
etc
Please sign in to leave a comment.
Looks like you're facing same problem as in this topic. We were able to reproduce it, you may find link to the corresponding issue there.
I suppose I should have referenced this,
http://devnet.jetbrains.net/message/5234365#5234365
Relatively old but might be helpful.
Cheers,
Gordon