From 2d170da497624eac5deb2b95ca1f3c7b83172a1a Mon Sep 17 00:00:00 2001 From: zzak Date: Fri, 31 Jan 2014 21:40:18 +0000 Subject: [PATCH] * lib/drb/drb.rb: [DOC] Add note about start_service for each process Based on a patch by @rosenfeld [Fixes GH-514] [ci skip] https://github.com/ruby/ruby/pull/514 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ lib/drb/drb.rb | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 54d3037b58..4198da26d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Feb 1 06:38:51 2014 Zachary Scott + + * lib/drb/drb.rb: [DOC] Add note about start_service for each process + Based on a patch by @rosenfeld [Fixes GH-514] [ci skip] + https://github.com/ruby/ruby/pull/514 + Sat Feb 1 06:30:20 2014 Zachary Scott * error.c: [DOC] Document Exception#cause by @jasonrclark [ci skip] diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index 97965228bb..ff1d3a53d3 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -177,6 +177,9 @@ require 'drb/eq' # # Not necessary for this small example, but will be required # # as soon as we pass a non-marshallable object as an argument # # to a dRuby call. +# # +# # Note: this must be called at least once per process to take any effect. +# # This is particularly important if your application forks. # DRb.start_service # # timeserver = DRbObject.new_with_uri(SERVER_URI)