[fxruby-users] Ubuntu - Fxruby - require issue

dave L dglnz at yahoo.com
Mon Oct 4 01:50:47 EDT 2010


The error relates to the fact that there is NO PATH to the given file fox16.so.

you can add the path into the DOS or CMD environment setting or simply copy and 
paste the fox16.so / .DLL and put it into the windows directory - 
c:\windows\system.

HTH.






________________________________
From: Mukul Sharma <elitecoder.mukul at gmail.com>
To: fxruby-users at rubyforge.org
Sent: Mon, 4 October, 2010 1:50:14 PM
Subject: [fxruby-users] Ubuntu - Fxruby - require issue

Hi Everyone,

Just decided to play around with Fxruby and followed the installation steps 
found 
@ http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment

Everything went alright but "require 'fox16'" fails in my script.
I have already tried running a "require 'rubygems'" before calling for "require 
'fox16'". It still fails with the following error 

irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'fox16'
LoadError: no such file to load -- fox16.so
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):2

Any help or ideas are appreciated. Please help.

Thanks and Regards,

Mukul Sharma

"A person who runs from responsibilities, runs from life."



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/14ee62ed/attachment-0001.html>


More information about the fxruby-users mailing list