Tramp up fails, cannot load winrm

I am trying to start 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 tried installing winrm using gem install winrm and it only installs a fine, but the tramp still doesn't work.

The following ruby ​​script works without errors:

 require "winrm" puts "hello world" 

Does anyone know how to fix this?

+5
source share
3 answers

I don't know what the problem is, but I fixed it by removing vagrant using dnf and installing the latest version from vagrantup.com. Winrm seems to be included in the latest roaming version.

+2
source

The winrm and winrm-fs drivers are not packaged in Fedora or Debian. You can run:

 $ vagrant plugin install winrm $ vagrant plugin install winrm-fs 

(i.e. installing a firewall, not installing a gem).

Note. Using Vagrant version 1.8.1 , gem winrm could not be installed, and this was fixed:

 $ vagrant plugin install winrm --plugin-version 1.8.1 $ vagrant plugin install winrm-fs 
+11
source

Same permission as here: https://groups.google.com/forum/#!topic/vagrant-up/mBYMUHm-YBI

So this is a problem with the packaged version of Vagrant Debian. Installing the DEB package from https://www.vagrantup.com/downloads.html works (for both 1.6.5 and 1.7+).

780036 was raised with Debian to track this issue.

+4
source

Source: https://habr.com/ru/post/1241503/


All Articles