Sha256: 64d4102f19c8f8b12cefcf8ab1022fddc57245d9a4ec4f86ce6a11401f56a975
Contents?: true
Size: 367 Bytes
Versions: 7
Compression:
Stored size: 367 Bytes
Contents
module Pvcglue class Packages class Ruby < Pvcglue::Packages def installed? connection.run_get_stdout!(user_name, '', 'rvm list strings') =~ /#{Pvcglue.configuration.ruby_version.gsub('.', '\.')}/ end def install! connection.run!(user_name, '', "rvm install #{Pvcglue.configuration.ruby_version}") end end end end
Version data entries
7 entries across 7 versions & 1 rubygems