|
|
Choosing A Webhost: |
[ruby-dev:28807] Re: `DRb::DRbMessage#recv_request': uninitialized constant: msg#00131lang.ruby.devel
In article <87fyhw7dbj.fsf@xxxxxxxx>, Tanaka Akira <akr@xxxxxxxx> writes: > test_01(TestDRbAry): (druby://localhost.localdomain:44095) > /tmp/19/lib/ruby/1.9/drb/drb.rb:617:in `DRb::DRbMessage#recv_request': > uninitialized constant DRb::DRbMessage::Values (NameError) これは Values が残っているためのようで、こんなところでしょうか。 Index: ruby.h =================================================================== RCS file: /src/ruby/ruby.h,v retrieving revision 1.137 diff -u -p -r1.137 ruby.h --- ruby.h 9 Jun 2006 21:20:10 -0000 1.137 +++ ruby.h 23 Jun 2006 13:31:30 -0000 @@ -632,7 +632,6 @@ RUBY_EXTERN VALUE rb_mProcess; RUBY_EXTERN VALUE rb_cBasicObject; RUBY_EXTERN VALUE rb_cObject; RUBY_EXTERN VALUE rb_cArray; -RUBY_EXTERN VALUE rb_cValues; RUBY_EXTERN VALUE rb_cBignum; RUBY_EXTERN VALUE rb_cClass; RUBY_EXTERN VALUE rb_cDir; Index: lib/drb/drb.rb =================================================================== RCS file: /src/ruby/lib/drb/drb.rb,v retrieving revision 1.35 diff -u -p -r1.35 drb.rb --- lib/drb/drb.rb 19 Jun 2006 22:07:42 -0000 1.35 +++ lib/drb/drb.rb 23 Jun 2006 13:31:30 -0000 @@ -614,7 +614,7 @@ module DRb msg = load(stream) argc = load(stream) raise ArgumentError, 'too many arguments' if @argc_limit < argc - argv = Values.new(argc, nil) + argv = Array.new(argc, nil) argc.times do |n| argv[n] = load(stream) end Index: lib/drb/invokemethod.rb =================================================================== RCS file: /src/ruby/lib/drb/invokemethod.rb,v retrieving revision 1.5 diff -u -p -r1.5 invokemethod.rb --- lib/drb/invokemethod.rb 28 Jul 2004 09:05:07 -0000 1.5 +++ lib/drb/invokemethod.rb 23 Jun 2006 13:31:30 -0000 @@ -4,7 +4,7 @@ module DRb class DRbServer module InvokeMethod18Mixin def block_yield(x) - if x.size == 1 && x[0].class == Values + if x.size == 1 && x[0].class == Array x[0] = DRbArray.new(x[0]) end block_value = @block.call(*x) -- [田中 哲][たなか あきら][Tanaka Akira]
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ruby-dev:28806] Re: rational 1.08, Tadayoshi Funaba |
|---|---|
| Next by Date: | [ruby-dev:28808] Re: signal & native-thread, Tanaka Akira |
| Previous by Thread: | [ruby-dev:28805] `DRb::DRbMessage#recv_request': uninitialized constant DRb::DRbMessage::Values (NameError), Tanaka Akira |
| Next by Thread: | [ruby-dev:28811] Re: `DRb::DRbMessage#recv_request': uninitialized constant DRb::DRbMessage::Values (NameError), Yukihiro Matsumoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |