fix compatibility with ruby 1.9.3
This commit is contained in:
parent
2df1e31940
commit
a1ca699bd4
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: "merge" symlink and user_symlink methods
|
# TODO: "merge" symlink and user_symlink methods
|
||||||
def symlink(guest_path, bucket_path = "/tmp/vagrant-cache/#{@name}", create_parent: true)
|
def symlink(guest_path, bucket_path = "/tmp/vagrant-cache/#{@name}", create_parent = true)
|
||||||
return if @env[:cache_dirs].include?(guest_path)
|
return if @env[:cache_dirs].include?(guest_path)
|
||||||
|
|
||||||
@env[:cache_dirs] << guest_path
|
@env[:cache_dirs] << guest_path
|
||||||
|
|
Loading…
Reference in a new issue