Sha256: a9dde6f3d00a4cdec05c095ffdefe0d973fac64c24f61e014020efae31228fd6
Contents?: true
Size: 540 Bytes
Versions: 3
Compression:
Stored size: 540 Bytes
Contents
module VagrantPlugins module Cachier module Cap module Linux module ComposerPath def self.composer_path(machine) composer_path = nil machine.communicate.tap do |comm| return unless comm.test('which php') comm.execute 'echo $HOME' do |buffer, output| composer_path = output.chomp if buffer == :stdout end end return "#{composer_path}/.composer/cache" end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems