# Require 'wx' ruby 1.8 vs 1.9

**URL:** <https://www.ruby-forum.com/t/require-wx-ruby-1-8-vs-1-9/229456>\
**Category:** wxRuby\
**Created:** [February 6, 2013, 5:19pm UTC](https://www.ruby-forum.com/t/require-wx-ruby-1-8-vs-1-9/229456 "2013-02-06T17:19:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![biospank](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f475e1/32.png) [@biospank](https://www.ruby-forum.com/u/biospank)\
**Post date:** [February 6, 2013, 5:19pm UTC](https://www.ruby-forum.com/t/require-wx-ruby-1-8-vs-1-9/229456/1 "2013-02-06T17:19:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![biospank](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f475e1/32.png) [@biospank](https://www.ruby-forum.com/u/biospank)\
**Post date:** [February 6, 2013, 7:27pm UTC](https://www.ruby-forum.com/t/require-wx-ruby-1-8-vs-1-9/229456/2 "2013-02-06T19:27:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![biospank](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f475e1/32.png) [@biospank](https://www.ruby-forum.com/u/biospank)\
**Post date:** [February 7, 2013, 10:39am UTC](https://www.ruby-forum.com/t/require-wx-ruby-1-8-vs-1-9/229456/3 "2013-02-07T10:39:31Z")

</div>

> 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.
