Sha256: 268231b8367b8eab4f05e9e7965f11773af5d8f9cd591bb23bcdcdaed8e52866

Contents?: true

Size: 558 Bytes

Versions: 6

Compression:

Stored size: 558 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.execute("rvm install #{version}")
              # FIXME: THIS IS DEBIAN SPECIFIC
              machine.communicate.sudo("apt-get install -y libxslt1-dev")
            end
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ventriloquist-0.3.2 lib/ventriloquist/cap/linux/rvm_install_ruby.rb
ventriloquist-0.3.1 lib/ventriloquist/cap/linux/rvm_install_ruby.rb
ventriloquist-0.3.0 lib/ventriloquist/cap/linux/rvm_install_ruby.rb
ventriloquist-0.2.1 lib/ventriloquist/cap/linux/rvm_install_ruby.rb
ventriloquist-0.2.0 lib/ventriloquist/cap/linux/rvm_install_ruby.rb
ventriloquist-0.1.0 lib/ventriloquist/cap/linux/rvm_install_ruby.rb