windows - Why ruby installed from RubyInstaller doesn't find dll's placed inside gem/lib folder? -


my system: windows 7 x64.

i've installed:

  • ruby rubyinstaller (1.8.7)
  • gem install rake
  • gem install libxml-ruby --platform=mswin32

now, when make:

require 'xml' 

i error missing libxml2-2.dll (and libiconv-2.dll). can find 2 libraries in 'ruby187\lib\ruby\gems\1.8\gems\libxml-ruby-1.1.4-x86-mswin32-60\lib\'. when copy them 'ruby187\bin' folder works.

but...

if install ruby old oneclick installer, libxml-ruby works without copying dll's ruby\bin folder. i've looked path variable - it's not pointing libxml-ruby lib folder, imho ruby finds them in other way.

and question. can do, ruby rubyinstaller act similarily 1 oneclick installer? don't want add \lib folder path (oneclick installer doesn't need that) , don't want copy dll's ruby\bin

you try rubystack installer, if seing no way around it. (i have working many gems, in win 7 64 bits, no issues date...)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -