Require 'wx' ruby 1.8 vs 1.9


#1

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.


#2

hi Fabio

On 06/02/13 17:13, Fabio P. 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


#3

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.