Sha256: e1b60b542ee494a3e8a3f5407bccc0aaacf66a58bdc7b37a3e90ef3c10c8ba29

Contents?: true

Size: 399 Bytes

Versions: 6

Compression:

Stored size: 399 Bytes

Contents

module VagrantPlugins
  module Ventriloquist
    module Platforms
      class Ruby < Platform
        def provision(machine)
          @config[:version] = '2.0.0' if @config[:version] == 'latest'
          machine.guest.tap do |guest|
            guest.capability(:rvm_install)
            guest.capability(:rvm_install_ruby, @config[:version])
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ventriloquist-0.3.2 lib/ventriloquist/platforms/ruby.rb
ventriloquist-0.3.1 lib/ventriloquist/platforms/ruby.rb
ventriloquist-0.3.0 lib/ventriloquist/platforms/ruby.rb
ventriloquist-0.2.1 lib/ventriloquist/platforms/ruby.rb
ventriloquist-0.2.0 lib/ventriloquist/platforms/ruby.rb
ventriloquist-0.1.0 lib/ventriloquist/platforms/ruby.rb