Ruby can not find the module (LoadError) under Windows -


i tried connect database using ruby (under windows). that:

  • install ruby in c:\ruby193
  • install devkit (c:\ruby193\devkit). run "ruby dk.rb init", "ruby dk.rb install"
  • downloaded rubygems (1.8.25). executed ruby setup.rb
  • and: gem install rubyfb (adapter ruby firebird)

after wrote short rb-script:

require 'rubygems' require 'rubyfb' include rubyfb  db = database.new('test.gdb') 

and got error:

c:/ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': 126: can't find module - c:/ruby193/lib/ruby/gems/1.9.1/gems/rubyfb-0.6.7/lib/rubyfb_lib.so (loaderror)

this file exists, ruby can not find it. attempts rectify situation failed.

i installed adapter, situation repeated - ruby can not find file.

please advise.

i having same problem. had copying c:\program files\firebird\firebird_2_5\bin\fbclient.dll c:\ruby\bin.


Comments

Post a Comment

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -