summaryrefslogtreecommitdiff
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-09-05 14:22:16 +0200
committergit <[email protected]>2024-09-11 11:28:11 +0000
commit1d768ebd712293e1a3d87e537a0b0d4dbdd7c54e (patch)
tree14497f2ac69d027b69cc5da13e51410fbe406d12 /lib/bundler.rb
parentbaac5376da6a836397745056b1e2d4f9f5dbac7b (diff)
[rubygems/rubygems] The `dsl_path` parameter in DSLError is documented as a string
https://github.com/rubygems/rubygems/commit/ab44fa9ee4
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb2
1 files changed, 1 insertions, 1 deletions
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