mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +00:00
[rubygems/rubygems] Set file path when eval-ing local specification in EndpointSpecification
Not strictly necessary, but there is no reason not to be helpful and set the path https://github.com/rubygems/rubygems/commit/894c0303dd
This commit is contained in:
parent
8197bbb0a9
commit
fa3cc4afcb
@ -94,7 +94,7 @@ module Bundler
|
||||
|
||||
def _local_specification
|
||||
return unless @loaded_from && File.exist?(local_specification_path)
|
||||
eval(File.read(local_specification_path)).tap do |spec|
|
||||
eval(File.read(local_specification_path), nil, local_specification_path).tap do |spec|
|
||||
spec.loaded_from = @loaded_from
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user