Set base directory to parent directory within plugin specs
This adjustment allows for extensions to be properly discovered after plugin gem specifications have been activated.
This commit is contained in:
parent
159fca9d13
commit
df00edf1a7
|
@ -398,6 +398,7 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
spec.full_gem_path = File.expand_path(directory)
|
spec.full_gem_path = File.expand_path(directory)
|
||||||
|
spec.base_dir = File.dirname(spec.base_dir)
|
||||||
|
|
||||||
@specs[spec.name] ||= []
|
@specs[spec.name] ||= []
|
||||||
@specs[spec.name] << spec
|
@specs[spec.name] << spec
|
||||||
|
|
Loading…
Reference in New Issue