ruby loading module cannot be located

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ruby loading module cannot be located

Ni Va
Hi,


I need to use FileUtils ruby lib module.


Error detected while processing function explorer#UnitePaster:
line   36:
LoadError: cannot load such file -- fileutils
eval:4:in `require'


It seems that this module is not recognized and the path not well feeded.
If any of you can help
Thank you
NiVa




Code

ruby << EOF

  libx = File.expand_path(VIM::evaluate('g:Ruby_libpath'), __FILE__)
  $LOAD_PATH.unshift(libx) unless $LOAD_PATH.include?(libx)
  require "fileutils"

EOF

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.