[fxruby-users] Using ActiveRecord in FXRuby application
saratkongara at gmail.com
Wed May 6 11:17:35 EDT 2009
Thanks for the quick response. I actually followed instructions from
your FXRuby book (Create Lean and Mean GUIs with Ruby). I used the
command: "sudo port install rb-fxruby" to install fxruby.
I found the file kwargs.rb in this folder:
I made the changes you suggested and I don't see any warnings now.
Earlier I also used to get a warning from rscribd gem code when I am
using fox16, now that is gone too.
Is it safe to ignore these warnings and keep the changes in the file
kwargs.rb permanently? Thanks again.
On 5/6/09, Lyle Johnson <lyle at lylejohnson.name> wrote:
> On May 6, 2009, at 8:02 AM, Sarat Kongara wrote:
>> My code works fine when I don't require fox16 and include Fox. But
>> once I do that I get a bunch of warnings.
> Since they are warning messages, they shouldn't be causing your
> program to fail (you just get a lot of noise in the console window).
> But I have a guess of what might fix it, if you can try something for
> me locally.
> For the purpose of this discussion, I'm going to assume that you've
> installed FXRuby via RubyGems, and that it's installed here:
> I want you to make changes to two lines in this file from the FXRuby
> The first line I want you to change is line 3. It currently reads:
> $VERBOSE = nil
> and I want you to change it to:
> old_verbose = $VERBOSE; $VERBOSE = nil
> The other line I want you to change is line 2740 (the last line),
> which currently reads:
> $VERBOSE = true
> and I want you to change it to read:
> $VERBOSE = old_verbose
> When you've changed those two lines, try running your program again
> and let's see if that doesn't clear up all those warnings from
> Hope this helps,
> fxruby-users mailing list
> fxruby-users at rubyforge.org
More information about the fxruby-users