Adds more detail about using specific versions of Bundler and directly links to the vagrant.gemspec file in master.

Rob Eden 2016-05-04 13:57:59 -04:00
parent 9682719f8a
commit c6e1e80053
1 changed files with 6 additions and 4 deletions

@ -9,10 +9,12 @@ First, you must have a modern Ruby (>= 2.0) in order to develop on Vagrant. This
- Ensure you have the latest version of Rubygems
- Ensure you have installed a version of [Bundler](https://bundler.io) that is compatible with Vagrant*
\* The bundler constraint is a floating requirement in Vagrant. You will need to inspect the `vagrant.gemspec` to determine the version when you are compiling from source. For example, if the gemspec says `< 0.10.0`, you will need to install a version of Bundler that is lower than 0.10.0:
\* The bundler constraint is a floating requirement in Vagrant. You will need to inspect the [vagrant.gemspec](https://github.com/mitchellh/vagrant/blob/master/vagrant.gemspec) file to determine the version when you are compiling from source. For example, if the gemspec says ` "bundler", ">= 1.5.2", "<= 1.10.6" `, you will need to install a version of Bundler that is higher than or equal to 1.5.2 and lower than or equal to 0.10.6.
You can install a specific version of bundler with the following command:
```shell
gem install bundler --version '< 0.10.0'
gem install bundler --version '<= 0.10.6'
```
## Clone Vagrant
@ -29,10 +31,10 @@ Next, `cd` into that path. All commands will be run from this path:
$ cd /path/to/your/vagrant/clone
```
Run the `bundle` command to install the requirements:
Run the `bundle` command with a required version* to install the requirements:
```shell
$ bundle install
$ bundle _0.10.6_ install
```
You can now run Vagrant by running `bundle exec vagrant` from inside that directory.