From 81bc10c0587a48a9827bcaa5dba997d02143edce Mon Sep 17 00:00:00 2001 From: Preetham Kamidi Date: Mon, 6 Apr 2026 06:12:09 +0000 Subject: [PATCH] Fix: Gemspec for Ruby 3+ --- singleton-client.gemspec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/singleton-client.gemspec b/singleton-client.gemspec index 8ebee13e5..bb9a55732 100644 --- a/singleton-client.gemspec +++ b/singleton-client.gemspec @@ -11,8 +11,7 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/vmware/singleton' s.summary = 'Singleton Ruby client' - require 'rake' - s.files = FileList['lib/**/*.rb', 'bin/*'].to_a + s.files = Dir['lib/**/*.rb', 'bin/*'].to_a s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) } s.require_paths = ['lib']