Sha256: d3d08cad160ce346ed02220c9af8634f1d956a18df93ce3563a0215e9807be1b

Contents?: true

Size: 554 Bytes

Versions: 3

Compression:

Stored size: 554 Bytes

Contents

module VagrantPlugins
  module Ventriloquist
    module Cap
      module Linux
        module RvmInstall
          def self.rvm_install(machine)
            if ! machine.communicate.test('test -d $HOME/.rvm')
              machine.env.ui.info('Installing RVM')
              machine.communicate.execute('\curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ignore-dotfiles')
              machine.communicate.execute("echo 'source $HOME/.rvm/scripts/rvm' >> ~/.profile")
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ventriloquist-0.3.2 lib/ventriloquist/cap/linux/rvm_install.rb
ventriloquist-0.3.1 lib/ventriloquist/cap/linux/rvm_install.rb
ventriloquist-0.3.0 lib/ventriloquist/cap/linux/rvm_install.rb