From f3481f238c03c457fa290368609a72f01c2a7cad Mon Sep 17 00:00:00 2001 From: makicamel Date: Thu, 22 Aug 2024 14:56:09 +0900 Subject: [PATCH] Requiring drb is required --- lib/bitclust/database.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bitclust/database.rb b/lib/bitclust/database.rb index c3040be..e9a1523 100644 --- a/lib/bitclust/database.rb +++ b/lib/bitclust/database.rb @@ -30,6 +30,7 @@ def Database.connect(uri) when 'file' new(uri.path) when 'druby' + require 'drb' DRbObject.new_with_uri(uri.to_s) else raise InvalidScheme, "unknown database scheme: #{uri.scheme}"