我正在运行vagrant global-status
获取宅基地机器ID并运行vagrant provision <id>
。
这给了我错误
/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/environment.rb:194:in `active_machines': undefined method `join' for nil:NilClass (NoMethodError)
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/plugin/v2/command.rb:108:in `with_target_vms'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.0/plugins/commands/provision/command.rb:34:in `execute'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/cli.rb:42:in `execute'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/environment.rb:249:in `cli'
from /Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.0/bin/vagrant:166:in `<main>'
如何解决这个问题的任何帮助将不胜感激!!
答案 0 :(得分:1)
如果有人遇到类似的问题,请升级到Vagrant 1.6.1解决。