Trouble running on OSX and ruby 1.9.2
lhaig opened this issue · 6 comments
I am getting this error when I try to connect to my vc server
I am running ruby 1.9.2 installed by rvm
can I debg this somehow to hel find te cause?
Thanks
Lance
Stokvis:vm-deploy stokvis$ rvc 10.0.0.111
Error loading readline-ffi: Could not open library 'readline.so': dlopen(readline.so, 5): image not found. Could not open library 'libreadline.so.dylib': dlopen(libreadline.so.dylib, 5): image not found. Tab completion will be limited.
No VMRC available for OS darwin10.7.0
/Users/stokvis/.rvm/gems/ruby-1.9.2-p180@vm-deploy/gems/rvc-1.3.6/lib/rvc/modules/vmrc.rb:39:in block in reload_modules': uninitialized constant RVC::CmdModule::VMRC_NAME (NameError) from /Users/stokvis/.rvm/gems/ruby-1.9.2-p180@vm-deploy/gems/rvc-1.3.6/lib/rvc/modules.rb:70:in
instance_eval'
from /Users/stokvis/.rvm/gems/ruby-1.9.2-p180@vm-deploy/gems/rvc-1.3.6/lib/rvc/modules.rb:70:in block in reload_modules' from /Users/stokvis/.rvm/gems/ruby-1.9.2-p180@vm-deploy/gems/rvc-1.3.6/lib/rvc/modules.rb:61:in
glob'
from /Users/stokvis/.rvm/gems/ruby-1.9.2-p180@vm-deploy/gems/rvc-1.3.6/lib/rvc/modules.rb:61:in reload_modules' from /Users/stokvis/.rvm/gems/ruby-1.9.2-p180@vm-deploy/gems/rvc-1.3.6/bin/rvc:61:in
<top (required)>'
from /Users/stokvis/.rvm/gems/ruby-1.9.2-p180@vm-deploy/bin/rvc:19:in load' from /Users/stokvis/.rvm/gems/ruby-1.9.2-p180@vm-deploy/bin/rvc:19:in
This is fixed in git HEAD. I'll push a release containing the fix.
Thanks buddy. Do you know how long it will take before the new gem is available?
This works now with the readline error but it works
I'm getting this same error on my OSX 10.7.2 install.
ruby 1.9.2p290 installed through rvm
rvc 1.5.0 installed through gems
$ rvc
Error loading readline-ffi: Could not open library 'readline.so': dlopen(readline.so, 5): image not found.
Could not open library 'libreadline.so.dylib': dlopen(libreadline.so.dylib, 5): image not found. Tab completion will be limited.
No VMRC available for OS darwin11.1.0
Host to connect to (user@host): /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rvc-1.5.0/bin/rvc:73:in readline': Interrupt from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rvc-1.5.0/bin/rvc:73: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
Me too. :(
Error loading readline-ffi: Could not open library 'readline.so': dlopen(readline.so, 5): image not found.
Could not open library 'libreadline.so.dylib': dlopen(libreadline.so.dylib, 5): image not found. Tab completion will be limited.
No VMRC available for OS darwin11.2.0
/usr/local/rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/net/http.rb:799: [BUG] Segmentation fault
ruby 1.9.3p6 (2011-12-15 revision 34066) [x86_64-darwin11.2.0]
Why am I commenting on a closed bug, I wonder? Time to look elsewhere....