• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Using FXRuby in Dapper woes

DunM@

Limp Gawd
Joined
Apr 2, 2002
Messages
316
Would anyone here mind walking me through getting FXRuby from where it is now to a state where I can run the example scripts that it comes with? I'm still not quite to the level of linux pwnership where I have an intuitive sense of what I need to do next.

So far, I have (AFIAK) installed ruby 1.8 (and indeed I can write and run text based scripts), gems 0.9.0 (I think its working...), fox16 (/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.1/ext/fox16/fox16.so exists... or at least that's what ls tells me, it could be a nefarious plot of some sort), and fxruby1.6.1 (whose installer claims to have succeeded, but I have my doubts).

When I run the hello.rb script from the examples directory (that came with FXRuby) I get the following error:
Code:
./hello.rb:3:in `require': no such file to load -- fox16 (LoadError)
        from ./hello.rb:3

Google lead me to http://rubyforge.org/pipermail/fxruby-users/2006-July/000928.html which seems to be the exact thing I'm facing, but for some reason the solution posted didn't work.

If at all possible I'd like someone to help me over aim for the sake of speed, my handle is stairmasterti83, thanks in advance!
 
Code:
require 'rubygems'
require 'fox16'

# your code here

Since you installed fx via ruby gems, you need to make sure gem's overloaded require is loaded first.
 
Ive get to try making a GUI app from ruby, maybe ill give it a whirl...Im just getting into perl though. OFFTOPIC: anyone know of a good IDE for perl (hopefully linux/mac based?)

To answer my own question
www.eclipse.org

does anyone have any rec for adding a gui to a perl script?
 
Back
Top