对于任何插件运行vagrant plugin install [plugin]
失败(使用管理命令提示符。)不确定问题是什么。 dev/null
不在我的计算机上,它不应该尝试安装到VM。
.vagrant.d
目录,重新安装Vagrant 注意:**
= C:/HashiCorp/Vagrant/embedded
C:\Users\Joe\Dropbox\webdev\projects>vagrant plugin install vagrant-hostsupdater
Installing the 'vagrant-hostsupdater' plugin. This can take a few minutes...
**/lib/ruby/2.0.0/rubygems/user_interaction.rb:554:in \`initialize':
Is a directory - /dev/null (Errno::EISDIR)
from **/lib/ruby/2.0.0/rubygems/user_interaction.rb:554:in \`open'
from **/lib/ruby/2.0.0/rubygems/user_interaction.rb:554:in \`initialize'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/bundler.rb:283:in \`new'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/bundler.rb:283:in \`with_isolated_gem'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/bundler.rb:225:in \`internal_install'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/bundler.rb:92:in \`install'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/manager.rb:62:in \`block in install_plugin'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/manager.rb:72:in \`call'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/manager.rb:72:in \`install_plugin'
from **/gems/gems/vagrant-1.7.2/plugins/commands/plugin/action/install_gem.rb:37:in \`call'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in \`call'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in \`call'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in \`block in run'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in \`busy'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in \`run'
from **/gems/gems/vagrant-1.7.2/plugins/commands/plugin/command/base.rb:14:in \`action'
from **/gems/gems/vagrant-1.7.2/plugins/commands/plugin/command/install.rb:32:in \`block in execute'
from **/gems/gems/vagrant-1.7.2/plugins/commands/plugin/command/install.rb:31:in \`each'
from **/gems/gems/vagrant-1.7.2/plugins/commands/plugin/command/install.rb:31:in \`execute'
from **/gems/gems/vagrant-1.7.2/plugins/commands/plugin/command/root.rb:56:in \`execute'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:in \`execute'
from **/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:in \`cli'
from **/gems/gems/vagrant-1.7.2/bin/vagrant:174:in \`<main>'
答案 0 :(得分:2)
检查是否有c:\ dev \ null目录(或者d:\ dev \ null等)。
初始化脚本查找/ dev / null文件但查找目录。通过删除目录一切正常(它对我来说)
似乎其他一些linux移植应用程序创建了c:\ dev \ null文件夹