Sha256: 00d6b7bc3259ad517b17e12506152adcf3fc57b5d1b94f685090d286632b306f

Contents?: true

Size: 673 Bytes

Versions: 1

Compression:

Stored size: 673 Bytes

Contents

source 'https://rubygems.org'

gemspec

group :development do
  vagrant_dependencies = {
    'v1' => {
      'home' => "~/.vagrant.d.v1",
      'gem' => Proc.new do
        gem "vagrant", "~> 1.0.7"
      end,
    },
    'v2' => {
      'home' => "~/.vagrant.d",
      'gem' => Proc.new do
        gem "vagrant", :git => "git://github.com/mitchellh/vagrant.git", :tag => "v1.4.0"
      end,
    },
  }

  vagrant_plugin_version = ENV['VAGRANT_PLUGIN_VERSION'] || "v2"
  vagrant_dependency = vagrant_dependencies[vagrant_plugin_version]

  ENV['VAGRANT_HOME'] = File.expand_path(vagrant_dependency['home'])

  vagrant_dependency['gem'].call()
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nugrant-1.4.1 Gemfile