Open dbrandonjohnson opened 12 years ago
Here is my ruby version as well.
ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
Have the same problem on Ubuntu Precise 12.04. Reading elsewhere, the ffi error doesn't matter right? Just the vds error?
ruby user@host
Error loading readline-ffi: Could not open library 'readline.so': readline.so: cannot open shared object file: No such file or directory.
Could not open library 'libreadline.so': libreadline.so: cannot open shared object file: No such file or directory. Tab completion will be limited.
/var/lib/gems/1.8/gems/rvc-1.7.0/lib/rvc/modules/vds.rb:662:in load_code': compile error (SyntaxError) /var/lib/gems/1.8/gems/rvc-1.7.0/lib/rvc/modules/vds.rb:657: syntax error, unexpected ')' from /var/lib/gems/1.8/gems/rvc-1.7.0/lib/rvc/namespace.rb:104:in
load_module_dir'
from /var/lib/gems/1.8/gems/rvc-1.7.0/lib/rvc/namespace.rb:92:in foreach' from /var/lib/gems/1.8/gems/rvc-1.7.0/lib/rvc/namespace.rb:92:in
load_module_dir'
from /var/lib/gems/1.8/gems/rvc-1.7.0/lib/rvc/shell.rb:228:in reload_modules' from /var/lib/gems/1.8/gems/rvc-1.7.0/lib/rvc/shell.rb:227:in
each'
from /var/lib/gems/1.8/gems/rvc-1.7.0/lib/rvc/shell.rb:227:in reload_modules' from /var/lib/gems/1.8/gems/rvc-1.7.0/bin/rvc:63 from /usr/local/bin/rvc:19:in
load'
from /usr/local/bin/rvc:19
ruby -v ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
To fix the vds error, remove the comma at the end of line 656 in /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/modules/vds.rb.
rvc should work without fixing ffi, but I was able to get it to work by installing the readline package using MacPorts and adding the following line to my .bashrc : export RVC_READLINE=/opt/local/lib/libreadline.dylib
"export RVC_READLINE=/opt/local/lib/libreadline.dylib" works on my Ruby 2.0.0p247 on OS X 10.7.5
I'm getting this error on my mac. I have ffi 1.1.5 installed....
Error loading readline-ffi: Could not open library 'libreadline.so.dylib': dlopen(libreadline.so.dylib, 5): image not found. Could not open library 'readline.so': dlopen(readline.so, 5): image not found. Tab completion will be limited. /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/modules/vds.rb:662:in
load_code': compile error (SyntaxError) /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/modules/vds.rb:657: syntax error, unexpected ')' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/namespace.rb:104:in
load_module_dir' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/namespace.rb:92:inforeach' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/namespace.rb:92:in
load_module_dir' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/shell.rb:228:inreload_modules' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/shell.rb:227:in
each' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/lib/rvc/shell.rb:227:inreload_modules' from /Library/Ruby/Gems/1.8/gems/rvc-1.7.0/bin/rvc:63 from /usr/bin/rvc:19:in
load' from /usr/bin/rvc:19