[#3479] Missing .document files for ext/ libraries — Brian Candler <B.Candler@...>

The ri documentation for zlib, strscan and iconv doesn't get built by 'make

12 messages 2004/10/06

[#3492] Re: ANN: Free-form-operators patch — Markus <markus@...>

> In message "Re: ANN: Free-form-operators patch"

15 messages 2004/10/11
[#3493] Re: ANN: Free-form-operators patch — Yukihiro Matsumoto <matz@...> 2004/10/11

Hi,

[#3495] Re: ANN: Free-form-operators patch — Markus <markus@...> 2004/10/12

On Mon, 2004-10-11 at 16:16, Yukihiro Matsumoto wrote:

[#3561] 1.8.2 - what can we do to help? — Dave Thomas <dave@...>

Folks:

23 messages 2004/10/26
[#3562] Re: 1.8.2 - what can we do to help? — Yukihiro Matsumoto <matz@...> 2004/10/27

Hi,

[PATCH] XMRPC WEBrickServlet

From: "Kirill A. Shutemov" <k.shutemov@...>
Date: 2004-10-21 10:27:39 UTC
List: ruby-core #3544
When I send "GET" to WEBrick servlet receive:

NameError: uninitialized constant XMLRPC::WEBrickServlet::HTTPStatus
/usr/share/ruby/vendor_ruby/1.9/xmlrpc/server.rb:795:in
`service'
/usr/share/ruby/1.9/webrick/httpserver.rb:101:in `service'
/usr/share/ruby/1.9/webrick/httpserver.rb:62:in `run'
/usr/share/ruby/1.9/webrick/server.rb:153:in `start_thread'
/usr/share/ruby/1.9/webrick/server.rb:147:in `start'
/usr/share/ruby/1.9/webrick/server.rb:147:in `start_thread'
/usr/share/ruby/1.9/webrick/server.rb:97:in `start'
/usr/share/ruby/1.9/webrick/server.rb:89:in `each'
/usr/share/ruby/1.9/webrick/server.rb:89:in `start'
/usr/share/ruby/1.9/webrick/server.rb:79:in `start'
/usr/share/ruby/1.9/webrick/server.rb:79:in `start'
daemon.rb:25

My proposing to fix the problem in the attachment.
-- 
Kirill A. Shutemov				Belarus, Minsk
E-mail:	k.shutemov (AT) sam-solutions.net
JID: kas (AT) altlinux.org
ICQ: 152302675

Attachments (1)

xmlrpc.patch (374 Bytes, text/x-diff)
--- /home/kas/RPM/BUILD/ruby/lib/xmlrpc/server.rb	2004-08-13 07:11:30 +0300
+++ /usr/share/ruby/1.9/xmlrpc/server.rb	2004-10-21 13:18:53 +0300
@@ -774,9 +774,11 @@
 =end
 
 class WEBrickServlet < BasicServer
+  require "webrick/httpstatus"
+  include WEBrick
+
   def initialize(*a)
     super
-    require "webrick/httpstatus"
   end
 
   # deprecated from WEBrick/1.2.2. 

In This Thread

Prev Next