lib/bundler.rb in bundler-2.5.18 vs lib/bundler.rb in bundler-2.5.19

- old
+ new

@@ -650,10 +650,10 @@ def eval_gemspec(path, contents) eval(contents, TOPLEVEL_BINDING.dup, path.expand_path.to_s) 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 unless use_system_gems? # this needs to be empty string to cause