vmware-archive / rvc

RVC is a Linux console UI for vSphere, built on the RbVmomi bindings to the vSphere API.
MIT License
240 stars 48 forks source link

rvc on Windows-Subsystem-Linux #100

Open NC-Alex opened 5 years ago

NC-Alex commented 5 years ago

Hello,

Trying to install rvc on the "Windows-Subsystem-Linux", I have this error message:

/usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- rbvmomi/trollop (LoadError) from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /var/lib/gems/2.3.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in require_with_backports' from /var/lib/gems/2.3.0/gems/rvc-1.8.0/bin/rvc:32:in<top (required)>' from /usr/local/bin/rvc:23:in load' from /usr/local/bin/rvc:23:in

'

Here some env infos:

gem env RubyGems Environment:

  • RUBYGEMS VERSION: 2.7.8
  • RUBY VERSION: 2.3.1 (2016-04-26 patchlevel 112) [x86_64-linux-gnu]
  • INSTALLATION DIRECTORY: /var/lib/gems/2.3.0
  • USER INSTALLATION DIRECTORY: /root/.gem/ruby/2.3.0
  • RUBY EXECUTABLE: /usr/bin/ruby2.3
  • EXECUTABLE DIRECTORY: /usr/local/bin
  • SPEC CACHE DIRECTORY: /root/.gem/specs
  • SYSTEM CONFIGURATION DIRECTORY: /etc
  • RUBYGEMS PLATFORMS:
  • ruby
  • x86_64-linux
  • GEM PATHS:
  • /var/lib/gems/2.3.0
  • /root/.gem/ruby/2.3.0
  • /usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0
  • /usr/share/rubygems-integration/2.3.0
  • /usr/share/rubygems-integration/all
  • GEM CONFIGURATION:
  • :update_sources => true
  • :verbose => true
  • :backtrace => false
  • :bulk_threshold => 1000
  • REMOTE SOURCES:
  • https://rubygems.org/
  • SHELL PATH:
  • /usr/local/sbin
  • /usr/local/bin
  • /usr/sbin
  • /usr/bin
  • /sbin
  • /bin
  • /snap/bin

Help please!

xweichu commented 5 years ago

I got this problem too... Did you get a solution? thanks a lot.