Closed digitalray closed 7 years ago
Sorry, I don't know how much help I can be since we aren't activly using this plugin at the moment. I suspect it might be a problem with ruby 2.4.0. Perhaps try and older version of ruby?
Unfortunately the older version of Ruby did not help
Ended up using https://github.com/rundeck-plugins/rundeck-winrm-plugin/releases/tag/v1.3.3 Thanks @spuder for your hlep!
I am getting after trying to execute a command in rundeck.
SYS INFO: CentOS release 6.8 (Final) Rundeck 2.7.3-1 rvm 1.29.1 (latest) ruby-2.4.0 [ x86_64 ] winrm (1.8.1) winrm-fs (0.4.3) /var/lib/rundeck/libext/rd-winrm-plugin-1.5.1.zip
ERROR: /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems/dependency.rb:308:in'
Failed: NonZeroResultCode: [WinRMexe] Result code: 1
Execution failed: 2 in project Test: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [sarkistest: NonZeroResultCode: [WinRMexe] Result code: 1]}, Node failures: {sarkistest=[NonZeroResultCode: [WinRMexe] Result code: 1]}, status: failed]
to_specs': Could not find 'winrm' (= 1.8.1) among 18 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/.gem/ruby/2.4.0:/usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0', execute
gem envfor more information from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems/dependency.rb:320:in
to_spec' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_gem.rb:65:ingem' from /var/lib/rundeck/libext/cache/rd-winrm-plugin-1.5.1/winrmexe.rb:2:in
gem env output RubyGems Environment: