Sha256: 1d57eb5b80005a30ec943c05845c425cd5401904bc705a9aee3a5f17c36d38f9

Contents?: true

Size: 801 Bytes

Versions: 5

Compression:

Stored size: 801 Bytes

Contents

---
page_title: "Minimum Vagrant Version - Vagrantfile"
sidebar_current: "vagrantfile-vagrantversion"
---

# Minimum Vagrant Version

A set of Vagrant version requirements can be specified in the Vagrantfile
to enforce that people use a specific version of Vagrant with a Vagrantfile.
This can help with compatibility issues that may otherwise arise from using
a too old or too new Vagrant version with a Vagrantfile.

Vagrant version requirements should be specified at the top of a Vagrantfile
with the `Vagrant.require_version` helper:

```ruby
Vagrant.require_version ">= 1.3.5"
```

In the case above, the Vagrantfile will only load if the version loading it
is Vagrant 1.3.5 or greater.

Multiple requirements can be specified as well:

```ruby
Vagrant.require_version ">= 1.3.5", "< 1.4.0"
```

Version data entries

5 entries across 2 versions & 2 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/website/docs/source/v2/vagrantfile/vagrant_version.html.md
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/website/docs/source/v2/vagrantfile/vagrant_version.html.md
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/website/docs/source/v2/vagrantfile/vagrant_version.html.md
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/website/docs/source/v2/vagrantfile/vagrant_version.html.md
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/website/docs/source/v2/vagrantfile/vagrant_version.html.md