[Solved] Sunstone: undefined method `getbyte'

Hello.

Suddenly Sunstone does not start anymore. Error message:

/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/type_loader.rb:16:in `load': undefined method `getbyte' for false:FalseClass (NoMethodError)
        from /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/type_loader.rb:16:in `block in initialize'
        from /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/type_loader.rb:16:in `open'
        from /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/type_loader.rb:16:in `initialize'
        from /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/connection.rb:265:in `new'
        from /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/connection.rb:265:in `load_vmodl'
        from /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/vim.rb:146:in `<class:VIM>'
        from /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/vim.rb:15:in `<module:RbVmomi>'
        from /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/vim.rb:11:in `<top (required)>'
        from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi.rb:12:in `<top (required)>'
        from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/one/ruby/vcenter_driver.rb:41:in `<top (required)>'
        from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/one/sunstone/routes/vcenter.rb:28:in `<top (required)>'
        from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/one/sunstone/sunstone-server.rb:442:in `block in <main>'
        from /usr/lib/one/sunstone/sunstone-server.rb:441:in `each'
        from /usr/lib/one/sunstone/sunstone-server.rb:441:in `<main>'

It’s opennebula 5.4.5 and ruby 2.2.2. Someone has an idea what the cause may be?

thanks and cheers

Seems to be a messed up ruby setup. After re-installing ruby and all gems sunstone works again.