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