Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
DRb.start_service
start_service(uri=nil, front=nil, config=nil)
lib/drb/drb.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/drb/drb.rb, line 1768
def start_service(uri=nil, front=nil, config=nil)
@primary_server = DRbServer.new(uri, front, config)
end
Start a dRuby server locally.
The new dRuby server will become the primary server, even if another server is currently the primary server.
uri is the URI for the server to bind to. If nil, the server will bind to random port on the default local host name and use the default dRuby protocol.
front is the server’s front object. This may be nil.
config is the configuration for the new server. This may be nil.
See DRbServer::new.