Forum: wxRuby require 'wx' ruby 1.8 vs 1.9

89f9acdcbc663e41e45ce590cd746d6e?d=identicon&s=25 Fabio Petrucci (biospank)
on 2013-02-06 17:19
(Received via mailing list)
Hi,

i'm going to port my wxruby application from ruby 1.8 to 1.9.x.

Everything went smoothly and i've got many advantage over the port.

With ruby 1.9.x my app run blazingly fast on startup either on MacOSX
and
Linux while on Windows (xp, vista, win7) it takes longer (~20 sec.
more).

The problem is on "require 'wx'" instruction (you can test on an irb
session).

Is there any issue on window i don't know about that causes this?

Any hints would be appreciated.

Thank you

Fabio.
06f6780c99d4a8dd71f2b474082ea9ce?d=identicon&s=25 Alex Fenton (Guest)
on 2013-02-06 19:27
(Received via mailing list)
hi Fabio

On 06/02/13 17:13, Fabio Petrucci wrote:
> i'm going to port my wxruby application from ruby 1.8 to 1.9.x.
>
> Everything went smoothly and i've got many advantage over the port.
>
> With ruby 1.9.x my app run blazingly fast on startup either on MacOSX
> and Linux while on Windows (xp, vista, win7) it takes longer (~20 sec.
> more).
>
> The problem is on "require 'wx'" instruction (you can test on an irb
> session).

Running a simple script that requires 'wx' with -rprofile might help
narrow it down.

alex
89f9acdcbc663e41e45ce590cd746d6e?d=identicon&s=25 Fabio Petrucci (biospank)
on 2013-02-07 10:39
(Received via mailing list)
>
> Running a simple script that requires 'wx' with -rprofile might help
> narrow it down.
>
>
Thank you Alex,

probably the problem depends on the virtual machine i run the
application
on.

Running the app on a real windows platform everything is ok.

Thank you all for this great library.

Fabio.
This topic is locked and can not be replied to.