-
Notifications
You must be signed in to change notification settings - Fork 342
Open
Description
Changed to path quickstart/rancher/vagrant and ran vagrant up
Got the following err:
Vagrant failed to initialize at a very early stage:
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.
Path: /quickstart/rancher/vagrant/Vagrantfile
Line number: 7
Message: NoMethodError: undefined method `exists?' for class File
Line 7 of Vagrantfile is:
if File.exists?(File.join(File.dirname(FILE), "local_config.yaml")) then
puts "Using local configuration file"
x = YAML.load_file(File.join(File.dirname(FILE), "local_config.yaml"))
else
any help, please?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels