diff --git a/lib/vagrant-cachier/bucket/composer.rb b/lib/vagrant-cachier/bucket/composer.rb index 62b84b2..1367fa9 100644 --- a/lib/vagrant-cachier/bucket/composer.rb +++ b/lib/vagrant-cachier/bucket/composer.rb @@ -9,7 +9,7 @@ module VagrantPlugins def install if guest.capability?(:composer_path) if composer_path = guest.capability(:composer_path) - symlink(composer_path, create_parent: false) + symlink(composer_path) end else @env[:ui].info I18n.t('vagrant_cachier.skipping_bucket', bucket: 'Composer') diff --git a/lib/vagrant-cachier/cap/linux/composer_path.rb b/lib/vagrant-cachier/cap/linux/composer_path.rb index db89b7a..d1e47ac 100644 --- a/lib/vagrant-cachier/cap/linux/composer_path.rb +++ b/lib/vagrant-cachier/cap/linux/composer_path.rb @@ -11,7 +11,7 @@ module VagrantPlugins composer_path = output.chomp if buffer == :stdout end end - return "#{composer_path}/.composer" + return "#{composer_path}/.composer/cache" end end end