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

LoadError when trying to launch rvc #40

Open ebdavison opened 12 years ago

ebdavison commented 12 years ago

I did a gem install rvc from the source bundle I downloaded from github. Several dependencies were installed as well. When I try to launch the application I get the following:

/usr/local/rvm/gems/ruby-1.9.2-p290/gems/rvc-1.5.0/lib/rvc/modules/vim.rb:66:in `rescue in block in connect': no such file to load -- openssl (LoadError)
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rvc-1.5.0/lib/rvc/modules/vim.rb:57:in `block in connect'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rvc-1.5.0/lib/rvc/modules/vim.rb:56:in `loop'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rvc-1.5.0/lib/rvc/modules/vim.rb:56:in `connect'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rvc-1.5.0/bin/rvc:91:in `block in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rvc-1.5.0/bin/rvc:88:in `each'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rvc-1.5.0/bin/rvc:88:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p290/bin/rvc:19:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p290/bin/rvc:19:in `<main>'
ebdavison commented 12 years ago

Got this one solved. Found posting on you announcement forum post (at the end) that was this exact error. Solved by:

rvm remove 1.9.2
rvm install 1.9.2 --with-readline-dir=$rvm_path/usr --with-openssl-dir=/usr

Worked fine after that.