Forum: wxRuby require 'wx' ruby 1.8 vs 1.9

Posted by 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.
Posted by 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
Posted by 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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.