Skip to content

Commit e531649

Browse files
committed
README.md: Add note on how to fix bug in vagrant-vbguest
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent f6338a4 commit e531649

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,23 @@ bash ./basebox/create.sh
119119
This will run commands from `basebox/bootstrap.sh` on an Ubuntu VM.
120120
If you're not using vagrant, you can run/adapt that script on a build/development machine of your choice.
121121

122+
If you get the following error:
123+
124+
```
125+
/home/larsewi/.vagrant.d/gems/3.3.8/gems/vagrant-vbguest-0.32.0/lib/vagrant-vbguest/hosts/virtualbox.rb:84:in `block in guess_local_iso': undefined method `exists?' for class File (NoMethodError)
126+
127+
path && File.exists?(path)
128+
^^^^^^^^
129+
Did you mean? exist?
130+
```
131+
132+
Then, the reason is a bug in `vagrant-vbguest` plugin. This is an archived repository.
133+
So it will not be fixed any time soon. You'd better just fix it yourself. E.g.:
134+
135+
```
136+
sed -i 's/File.exists/File.exist/g' ~/.vagrant.d/gems/3.3.8/gems/vagrant-vbguest-0.32.0/lib/vagrant-vbguest/hosts/virtualbox.rb
137+
```
138+
122139
### Starting the development machine
123140

124141
```

0 commit comments

Comments
 (0)