Ahem!... another difficulty

The technique   
<C-R>=system("ruby /path/to/file")
works nicely apart from a problem: I can no longer
access things like VIM::Buffer in my ruby script, while
they work ok if I use
:rubyf /path/to/file
on the command line.

So, what is the proper way to go?
1) install the required vim-ruby packages on my system
(but which are the good ones?)
2) inside my script, require or load the appropriate
definitions (but where are they? inside macvim?
inside /usr/share? in some ruby Framework?)
3) last option: ask the list and let them explain to me
what I'm missing. I'm sure there is a trivial solution

Thanks, 
Piero

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to