hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.32k stars 4.43k forks source link

Vagrant archlinux unable to read Vagrant file. no implicit conversion of nil into String (TypeError) #4261

Closed gi0cann closed 10 years ago

gi0cann commented 10 years ago

When ever I run vagrant on my archlinux install I get some from of the following error: no implicit conversion of nil into String (TypeError). This error is not cause by a typo. I have tried multiple vagrant files. They all work fine on both my ubuntu and windows machine.

kikitux commented 10 years ago

can you past a sample vagrantfile that fail and log generated as VAGRANT_LOG=debug vagrant up

gi0cann commented 10 years ago

VAGRANT FILE:

-- mode: ruby --

vi: set ft=ruby :

is_windows = (RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/)

Include our deploy command.

if not is_windows require File.dirname(FILE) + '/ssh-add.rb' end

Vagrant.configure("2") do |config|

Things you might want to modify!

config.vm.hostname = "local"

config.vm.provider :virtualbox do |vb| vb.customize ["modifyvm", :id, "--memory", "2048"] end

config.vm.network :private_network, ip: "33.33.33.40"

config.vm.box = "precise-vbox-4.2.18.2" config.vm.box_url = "http://fattony.zivtech.com/files/precise-vbox-4.2.18.2.box"

config.ssh.forward_agent = true

config.vm.provision :puppet do |puppet| puppet.module_path = "puppet-modules" puppet.manifests_path = "puppet-manifests" puppet.manifest_file = "base.pp" end

NFS sharing does not work on windows, so if this is windows don't try to start it.

require 'rbconfig'

if not is_windows config.vm.synced_folder "www", "/var/www", :nfs => true else

Uncomment this for windows file sharing. When using windows file sharing, symlinks will not work.

# config.vm.synced_folder "www", "/var/www"

end end

VAGRANT LOG:

INFO global: Vagrant version: 1.6.3 INFO global: Ruby version: 2.0.0 INFO global: RubyGems version: 2.0.14 INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant" INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded" INFO global: VAGRANT_INSTALLER_VERSION="2" INFO global: VAGRANT_DETECTED_OS="Linux" INFO global: VAGRANT_INSTALLER_ENV="1" INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1" INFO global: VAGRANT_LOG="debug" INFO global: Plugins: INFO global: - bundler = 1.6.4 DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/synced_folders/rsync/plugin.rb INFO manager: Registered plugin: RSync synced folders DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/synced_folders/smb/plugin.rb INFO manager: Registered plugin: SMB synced folders DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/synced_folders/nfs/plugin.rb INFO manager: Registered plugin: NFS synced folders DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/shell/plugin.rb INFO manager: Registered plugin: shell DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/chef/plugin.rb INFO manager: Registered plugin: chef DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/cfengine/plugin.rb INFO manager: Registered plugin: CFEngine Provisioner DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/docker/plugin.rb INFO manager: Registered plugin: docker DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/salt/plugin.rb INFO manager: Registered plugin: salt DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/ansible/plugin.rb INFO manager: Registered plugin: ansible DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/file/plugin.rb INFO manager: Registered plugin: file DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/provisioners/puppet/plugin.rb INFO manager: Registered plugin: puppet DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/linux/plugin.rb INFO manager: Registered plugin: Linux guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/solaris11/plugin.rb INFO manager: Registered plugin: Solaris 11 guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/netbsd/plugin.rb INFO manager: Registered plugin: NetBSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/pld/plugin.rb INFO manager: Registered plugin: PLD Linux guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/nixos/plugin.rb INFO manager: Registered plugin: NixOS guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/coreos/plugin.rb INFO manager: Registered plugin: CoreOS guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/fedora/plugin.rb INFO manager: Registered plugin: Fedora guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/debian/plugin.rb INFO manager: Registered plugin: Debian guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/omnios/plugin.rb INFO manager: Registered plugin: OmniOS guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/solaris/plugin.rb INFO manager: Registered plugin: Solaris guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/darwin/plugin.rb INFO manager: Registered plugin: Darwin guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/suse/plugin.rb INFO manager: Registered plugin: SUSE guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/ubuntu/plugin.rb INFO manager: Registered plugin: Ubuntu guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/redhat/plugin.rb INFO manager: Registered plugin: RedHat guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/esxi/plugin.rb INFO manager: Registered plugin: ESXi guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/arch/plugin.rb INFO manager: Registered plugin: Arch guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/openbsd/plugin.rb INFO manager: Registered plugin: OpenBSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/mint/plugin.rb INFO manager: Registered plugin: Mint guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/smartos/plugin.rb INFO manager: Registered plugin: SmartOS guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/windows/plugin.rb INFO manager: Registered plugin: Windows guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/funtoo/plugin.rb INFO manager: Registered plugin: Funtoo guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/guests/tinycore/plugin.rb INFO manager: Registered plugin: TinyCore Linux guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/communicators/winrm/plugin.rb INFO manager: Registered plugin: winrm communicator DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/communicators/ssh/plugin.rb INFO manager: Registered plugin: ssh communicator DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/plugin.rb INFO manager: Registered plugin: VirtualBox provider DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/docker/plugin.rb INFO manager: Registered plugin: docker-provider DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/hyperv/plugin.rb INFO manager: Registered plugin: Hyper-V provider DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/halt/plugin.rb INFO manager: Registered plugin: halt command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/rdp/plugin.rb INFO manager: Registered plugin: rdp command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/version/plugin.rb INFO manager: Registered plugin: version command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/destroy/plugin.rb INFO manager: Registered plugin: destroy command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/resume/plugin.rb INFO manager: Registered plugin: resume command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/box/plugin.rb INFO manager: Registered plugin: box command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/global-status/plugin.rb INFO manager: Registered plugin: global-status command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/provision/plugin.rb INFO manager: Registered plugin: provision command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/package/plugin.rb INFO manager: Registered plugin: package command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/suspend/plugin.rb INFO manager: Registered plugin: suspend command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/reload/plugin.rb INFO manager: Registered plugin: reload command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/list-commands/plugin.rb INFO manager: Registered plugin: list-commands command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/ssh/plugin.rb INFO manager: Registered plugin: ssh command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/ssh_config/plugin.rb INFO manager: Registered plugin: ssh-config command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/status/plugin.rb INFO manager: Registered plugin: status command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/help/plugin.rb INFO manager: Registered plugin: help command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/init/plugin.rb INFO manager: Registered plugin: init command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/plugin/plugin.rb INFO manager: Registered plugin: plugin command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/up/plugin.rb INFO manager: Registered plugin: up command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/kernel_v1/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/linux/plugin.rb INFO manager: Registered plugin: Linux host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/null/plugin.rb INFO manager: Registered plugin: null host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/slackware/plugin.rb INFO manager: Registered plugin: Slackware host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/bsd/plugin.rb INFO manager: Registered plugin: BSD host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/opensuse/plugin.rb INFO manager: Registered plugin: OpenSUSE host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/darwin/plugin.rb INFO manager: Registered plugin: Mac OS X host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/redhat/plugin.rb INFO manager: Registered plugin: Red Hat host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/arch/plugin.rb INFO manager: Registered plugin: Arch host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/hosts/windows/plugin.rb INFO manager: Registered plugin: Windows host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/kernel_v2/plugin.rb INFO manager: Registered plugin: kernel INFO global: Loading plugins! INFO vagrant: vagrant invoked: ["up", "--debug"] DEBUG vagrant: Creating Vagrant environment INFO environment: Environment initialized (#Vagrant::Environment:0x0000000177fb40) INFO environment: - cwd: /home/gi0cann/code/Vagrant/PhillyDevCamp INFO environment: Home path: /home/gi0cann/.vagrant.d INFO environment: Local data path: /home/gi0cann/code/Vagrant/PhillyDevCamp/.vagrant DEBUG environment: Creating: /home/gi0cann/code/Vagrant/PhillyDevCamp/.vagrant INFO environment: Running hook: environment_plugins_loaded INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x00000001c73ac0 INFO environment: Running hook: environment_load INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x00000000f3cfc8 INFO cli: CLI: [] "up" [] DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command [] DEBUG command: 'Up' each target VM... INFO loader: Set :root = #Pathname:/home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile DEBUG loader: Populating proc cache for #Pathname:/home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile DEBUG loader: Load procs for pathname: /home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile ERROR loader: Vagrantfile load error: no implicit conversion of nil into String ERROR loader: /opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/authentication/agent/socket.rb:68:in rescue in connect!' /opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/authentication/agent/socket.rb:63:inconnect!' /opt/vagrant/embedded/gems/gems/net-ssh-2.9.1/lib/net/ssh/authentication/agent/socket.rb:47:in connect' /home/gi0cann/code/Vagrant/PhillyDevCamp/ssh-add.rb:15:in<top (required)>' /home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile:8:in require' /home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile:8:in<top (required)>' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:197:in load' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:197:inblock in procs_for_path' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config.rb:53:in block in capture_configures' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config.rb:48:insynchronize' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config.rb:48:in capture_configures' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:195:inprocs_for_path' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:181:in procs_for_source' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:57:inblock in set' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:51:in each' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:51:inset' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:330:in config_loader' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:574:invagrantfile' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/up/command.rb:61:in block in execute' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:238:inblock (2 levels) in batch' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:236:in tap' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:236:inblock in batch' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:235:in synchronize' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:235:inbatch' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/up/command.rb:58:in execute' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/cli.rb:42:inexecute' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:252:in cli' /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant:166:in

' INFO environment: Running hook: environment_unload INFO loader: Loading configuration in order: [:home, :root] DEBUG loader: Configuration loaded successfully, finalizing and returning INFO host: Autodetecting host type for [#<Vagrant::Environment: /home/gi0cann/code/Vagrant/PhillyDevCamp>] DEBUG host: Trying: slackware DEBUG host: Trying: opensuse DEBUG host: Trying: darwin DEBUG host: Trying: freebsd DEBUG host: Trying: redhat DEBUG host: Trying: arch INFO host: Detected: arch! INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x00000001313d18 ERROR vagrant: Vagrant experienced an error! Details: ERROR vagrant: #<Vagrant::Errors::VagrantfileLoadError: 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: /home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile Message: no implicit conversion of nil into String> ERROR vagrant: 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: /home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile Message: no implicit conversion of nil into String ERROR vagrant: /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:213:in rescue in block in procs_for_path' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:196:inblock in procs_for_path' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config.rb:53:in block in capture_configures' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config.rb:48:insynchronize' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config.rb:48:in capture_configures' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:195:inprocs_for_path' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:181:in procs_for_source' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:57:inblock in set' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:51:in each' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/config/loader.rb:51:inset' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:330:in config_loader' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:574:invagrantfile' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/up/command.rb:61:in block in execute' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:238:inblock (2 levels) in batch' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:236:in tap' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:236:inblock in batch' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:235:in synchronize' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:235:inbatch' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/commands/up/command.rb:58:in execute' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/cli.rb:42:inexecute' /opt/vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:252:in cli' /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant:166:in

' INFO interface: error: 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: /home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile Message: no implicit conversion of nil into String 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: /home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile Message: no implicit conversion of nil into String INFO interface: Machine: error-exit ["Vagrant::Errors::VagrantfileLoadError", "There was an error loading a Vagrantfile. The file being loaded\nand the error message are shown below. This is usually caused by\na syntax error.\n\nPath: /home/gi0cann/code/Vagrant/PhillyDevCamp/Vagrantfile\nMessage: no implicit conversion of nil into String"]

mitchellh commented 10 years ago

This is an exception coming form that ssh-add.rb file you have, not from Vagrant itself.

gi0cann commented 10 years ago

This same file work fine on Ubuntu 14.04 and Windows 8, but not on arch linux.