fix compatibility with ruby 1.9.3

This commit is contained in:
Torben 2014-03-07 17:39:35 +01:00
parent 2df1e31940
commit a1ca699bd4

View file

@ -43,7 +43,7 @@ module VagrantPlugins
end
# 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)
@env[:cache_dirs] << guest_path