From 1d768ebd712293e1a3d87e537a0b0d4dbdd7c54e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 5 Sep 2024 14:22:16 +0200 Subject: [rubygems/rubygems] The `dsl_path` parameter in DSLError is documented as a string https://github.com/rubygems/rubygems/commit/ab44fa9ee4 --- lib/bundler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bundler.rb') diff --git a/lib/bundler.rb b/lib/bundler.rb index e7efeb8fa6..9b00610ff0 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -670,7 +670,7 @@ module Bundler rescue ScriptError, StandardError => e msg = "There was an error while loading `#{path.basename}`: #{e.message}" - raise GemspecError, Dsl::DSLError.new(msg, path, e.backtrace, contents) + raise GemspecError, Dsl::DSLError.new(msg, path.to_s, e.backtrace, contents) end def configure_gem_path -- cgit v1.2.3