Sha256: 7fc63f23b8ece3c6d898d948ee490f3275eca6b9c775094fc07130b672fc9423

Contents?: true

Size: 522 Bytes

Versions: 2

Compression:

Stored size: 522 Bytes

Contents

module VagrantPlugins
  module Ventriloquist
    module Cap
      module Linux
        module RvmInstallRuby
          def self.rvm_install_ruby(machine, version)
            if ! machine.communicate.test("rvm list | grep #{version}")
              machine.env.ui.info("Installing Ruby #{version}")
              machine.communicate.sudo("rvm install #{version}")
              machine.guest.capability(:install_packages, 'libxslt1-dev', silent: true)
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ventriloquist-0.4.1 lib/ventriloquist/cap/platforms/linux/rvm_install_ruby.rb
ventriloquist-0.4.0 lib/ventriloquist/cap/platforms/linux/rvm_install_ruby.rb