Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vagrant up fails with cannot load winrm

Tags:

vagrant

winrm

I am trying to run a Vagrant box with SQL Server for local development. I am running Fedora 23. The box in question is this.

vagrant up fails with the following error message:

/usr/share/vagrant/plugins/communicators/winrm/shell.rb:9:in `require':
cannot load such file -- winrm (LoadError)

I have tried to install winrm with gem install winrm, and it installs just fine, but vagrant still fails.

The following ruby script runs without errors:

require "winrm"
puts "hello world"

Does anyone know how to fix this?

like image 398
lalo Avatar asked Jan 26 '16 14:01

lalo


1 Answers

Not sure what the problem was, but I fixed it by uninstalling vagrant with dnf, and installing the latest version from vagrantup.com. Seems winrm is included in the latest vagrant version.

like image 155
lalo Avatar answered Oct 03 '22 20:10

lalo