论坛首页 编程语言技术论坛

[求助]启动webrick出错

浏览 2118 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2007-03-05  
操作系统:Win2K.
D:\projectSource\TestRuby\AddressBook>ruby script/server -d
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
[2007-03-05 14:27:27] INFO  WEBrick 1.3.1
[2007-03-05 14:27:27] INFO  ruby 1.8.5 (2006-12-25) [i386-mswin32]
d:/ruby/lib/ruby/1.8/webrick/server.rb:29:in `fork': the fork() function is unim
plemented on this machine (NotImplementedError)
        from d:/ruby/lib/ruby/1.8/webrick/server.rb:29:in `start'
        from d:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
        from d:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/webrick_server.rb:63:in `dispatch'
        from d:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/servers/webrick.rb:59
        from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_suppo
rt/dependencies.rb:495:in `require'
        from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_suppo
rt/dependencies.rb:342:in `new_constants_in'
        from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_suppo
rt/dependencies.rb:495:in `require'
        from d:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/server.rb:39
        from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from script/server:3
论坛首页 编程语言技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics