rails 启动两个 script/server 报的错误

E:\work\Depot>ruby script/server
./script/../config/boot.rb:65:Warning: require_gem is obsolete.  Use gem instead
.
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-02-13 21:28:57] INFO  WEBrick 1.3.1
[2008-02-13 21:28:57] INFO  ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-02-13 21:28:57] WARN  TCPServer Error: 通常每个套接字地址(协议/网络地址/端
口)只允许使用一次。 - bind(2)
d:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': 通常每个套接字地址(协
议/网络地址/端口)只允许使用一次。 - bind(2) (Errno::EADDRINUSE)
        from d:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `new'
        from d:/ruby/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners'
        from d:/ruby/lib/ruby/1.8/webrick/utils.rb:70:in `each'
        from d:/ruby/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners'
        from d:/ruby/lib/ruby/1.8/webrick/server.rb:75:in `listen'
        from d:/ruby/lib/ruby/1.8/webrick/server.rb:63:in `initialize'
        from d:/ruby/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize'
        from d:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/webrick_server.rb:58
:in `new'
         ... 10 levels...
        from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_suppo
rt/dependencies.rb:495:in `require'
        from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_suppo
rt/dependencies.rb:342:in `new_constants_in'
        from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_suppo
rt/dependencies.rb:495:in `require'
        from script/server:3

E:\work\Depot>

你可能感兴趣的:(C++,c,网络协议,Ruby,Rails)