Fixed version in Bundle examples
parent
c6e1e80053
commit
f693765b0f
|
@ -9,12 +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](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.
|
||||
\* 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 1.10.6.
|
||||
|
||||
You can install a specific version of bundler with the following command:
|
||||
|
||||
```shell
|
||||
gem install bundler --version '<= 0.10.6'
|
||||
gem install bundler --version '<= 1.10.6'
|
||||
```
|
||||
|
||||
## Clone Vagrant
|
||||
|
@ -34,7 +34,7 @@ $ cd /path/to/your/vagrant/clone
|
|||
Run the `bundle` command with a required version* to install the requirements:
|
||||
|
||||
```shell
|
||||
$ bundle _0.10.6_ install
|
||||
$ bundle _1.10.6_ install
|
||||
```
|
||||
|
||||
You can now run Vagrant by running `bundle exec vagrant` from inside that directory.
|
||||
|
|
Loading…
Reference in New Issue