Skip to content

Vagrant up not working #248

@temitopeog

Description

@temitopeog

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions