My system: windows 7 x64.
I have installed:
- ruby from RubyInstaller (1.8.7)
- gem install rake
- gem install libxml-ruby --platform = mswin32
Now when I do:
require 'xml'
I get the error libxml2-2.dll (and libiconv-2.dll). I can find these two libraries in "Ruby187 \ lib \ ruby ββ\ gems \ 1.8 \ gems \ libxml-ruby-1.1.4-x86-mswin32-60 \ lib \ '. When I copy them to the folder" Ruby187 \ bin ", everything works.
But...
If I install ruby ββfrom the old OneClick installer, libxml-ruby works without copying these dlls to the ruby ββ\ bin folder. I looked at the PATH variable - this does not point to the libxml-ruby lib folder, so IMHO ruby ββfinds them in some other way.
And the question. What can I do, so does Ruby from RubyInstaller work similarly with OneClick Installer? I do not want to add the \ lib folder to PATH (OneClick Installer does not need this), and I do not want to copy the dll to Ruby \ bin
source share