Sha256: 60eac3c4b6ad567ddd7971315e315e0e5aa44f57be52e2b565fe0a186dd6e591
Contents?: true
Size: 498 Bytes
Versions: 19
Compression:
Stored size: 498 Bytes
Contents
module VagrantPlugins module Cachier module Cap module Linux module RvmPath def self.rvm_path(machine) rvm_path = nil machine.communicate.tap do |comm| return unless comm.test('rvm info') comm.execute 'echo $rvm_path' do |buffer, output| rvm_path = output.chomp if buffer == :stdout end end return rvm_path end end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems