# Fxruby doesn't work

**URL:** <https://rubytalk.org/t/fxruby-doesnt-work/22054>\
**Category:** ruby-talk\
**Created:** [31 October 2005 21:11 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054 "2005-10-31T21:11:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dirk\_Meijer](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@Dirk\_Meijer](https://rubytalk.org/u/Dirk_Meijer)\
**Post date:** [31 October 2005 21:11 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054/1 "2005-10-31T21:11:21Z")

</div>

hi everyone,  
just a few months ago, i was able to run programs that use fxruby, since  
recently, it has not been working, but i'm not as much into ruby that i'd  
write a fxruby program.. however, i would like to get it back to work.  
i use windows xp, sp2, on-click installer 1.8.2-15  
and i get the following error:  
d:/ruby/lib/ruby/site\_ruby/1.8/rubygems.rb:144:in `activate': can't  
activate fxruby (= 1.2.6), already activated fxruby-1.4.2-mswin32]  
(Gem::Exception)  
from d:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:23:in  
`require'  
from d:/ruby/lib/ruby/gems/1.8/gems/fxri-0.3.2/./fxri:10  
from D:/ruby/bin/fxri:18:in `load'  
from D:/ruby/bin/fxri:18  
does anyone know how to fix this problem?  
greetings, Dirk.

---

<div class="post-metadata">

**Author:** ![Lyle\_Johnson3](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@Lyle\_Johnson3](https://rubytalk.org/u/Lyle_Johnson3)\
**Post date:** [31 October 2005 21:58 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054/2 "2005-10-31T21:58:16Z")

</div>

Just a note to try to pin down the source of the problem: It's not a  
problem with FXRuby. It \*appears\* to be a problem with what "fxri" (an  
application that happens to use FXRuby) is trying to do to when it  
tries to "require" the FXRuby gem.

> **···**
>
> On 10/31/05, Dirk Meijer \<hawkman.gelooft@gmail.com\> wrote:
> 
> > just a few months ago, i was able to run programs that use fxruby, since  
> > recently, it has not been working, but i'm not as much into ruby that i'd  
> > write a fxruby program.. however, i would like to get it back to work.  
> > i use windows xp, sp2, on-click installer 1.8.2-15  
> > and i get the following error:  
> > d:/ruby/lib/ruby/site\_ruby/1.8/rubygems.rb:144:in `activate': can't  
> > activate fxruby (= 1.2.6), already activated fxruby-1.4.2-mswin32]  
> > (Gem::Exception)  
> > from d:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:23:in  
> > `require'  
> > from d:/ruby/lib/ruby/gems/1.8/gems/fxri-0.3.2/./fxri:10  
> > from D:/ruby/bin/fxri:18:in `load'  
> > from D:/ruby/bin/fxri:18  
> > does anyone know how to fix this problem?

---

<div class="post-metadata">

**Author:** ![Curt\_Hibbs2](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@Curt\_Hibbs2](https://rubytalk.org/u/Curt_Hibbs2)\
**Post date:** [31 October 2005 22:31 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054/3 "2005-10-31T22:31:47Z")

</div>

In version 182-15 of the One-Click Installer there is a problem  
running FXRuby programs using rubyw.exe, but they run correctly with  
ruby.exe.

I believe this problem does not exist in 182-14, which has the same  
version of, just different versions of the pre-installed extensions.

I will make sure that this is resolved by the time we release the  
installer for 1.8.4 (hopefully around the end of this year).

Curt

> **···**
>
> On 10/31/05, Dirk Meijer \<hawkman.gelooft@gmail.com\> wrote:
> 
> > hi everyone,  
> > just a few months ago, i was able to run programs that use fxruby, since  
> > recently, it has not been working, but i'm not as much into ruby that i'd  
> > write a fxruby program.. however, i would like to get it back to work.  
> > i use windows xp, sp2, on-click installer 1.8.2-15  
> > and i get the following error:  
> > d:/ruby/lib/ruby/site\_ruby/1.8/rubygems.rb:144:in `activate': can't  
> > activate fxruby (= 1.2.6), already activated fxruby-1.4.2-mswin32]  
> > (Gem::Exception)  
> > from d:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:23:in  
> > `require'  
> > from d:/ruby/lib/ruby/gems/1.8/gems/fxri-0.3.2/./fxri:10  
> > from D:/ruby/bin/fxri:18:in `load'  
> > from D:/ruby/bin/fxri:18  
> > does anyone know how to fix this problem?  
> > greetings, Dirk.

---

<div class="post-metadata">

**Author:** ![Holger\_Arndt](https://avatars.discourse-cdn.com/v4/letter/h/0ea827/32.png) [@Holger\_Arndt](https://rubytalk.org/u/Holger_Arndt)\
**Post date:** [1 November 2005 13:02 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054/4 "2005-11-01T13:02:18Z")

</div>

Hello,

I had the same problem after "gem update ; gem clean". I had to remove fxruby 1.4-x and reinstall fxruby 1.2-6. Having both versions at the same time didn't work for me.

Regards,  
Holger

---

<div class="post-metadata">

**Author:** ![Dirk\_Meijer](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@Dirk\_Meijer](https://rubytalk.org/u/Dirk_Meijer)\
**Post date:** [1 November 2005 09:44 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054/5 "2005-11-01T09:44:12Z")

</div>

this doesn't solve the problem, running it with ruby.exe instead of  
rubyw.exe gives me exactly the same..  
anyone else have any solutions?  
greetings, Dirk.

> **···**
>
> 2005/10/31, Curt Hibbs \<curt.hibbs@gmail.com\>:
> 
> > In version 182-15 of the One-Click Installer there is a problem  
> > running FXRuby programs using rubyw.exe, but they run correctly with  
> > ruby.exe.
> > 
> > I believe this problem does not exist in 182-14, which has the same  
> > version of, just different versions of the pre-installed extensions.
> > 
> > I will make sure that this is resolved by the time we release the  
> > installer for 1.8.4 (hopefully around the end of this year).
> > 
> > Curt
> > 
> > On 10/31/05, Dirk Meijer \<hawkman.gelooft@gmail.com\> wrote:  
> > \> hi everyone,  
> > \> just a few months ago, i was able to run programs that use fxruby, since  
> > \> recently, it has not been working, but i'm not as much into ruby that  
> > i'd  
> > \> write a fxruby program.. however, i would like to get it back to work.  
> > \> i use windows xp, sp2, on-click installer 1.8.2-15  
> > \> and i get the following error:  
> > \> d:/ruby/lib/ruby/site\_ruby/1.8/rubygems.rb:144:in `activate': can't  
> > \> activate fxruby (= 1.2.6), already activated fxruby-1.4.2-mswin32]  
> > \> (Gem::Exception)  
> > \> from d:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:23:in  
> > \> `require'  
> > \> from d:/ruby/lib/ruby/gems/1.8/gems/fxri-0.3.2/./fxri:10  
> > \> from D:/ruby/bin/fxri:18:in `load'  
> > \> from D:/ruby/bin/fxri:18  
> > \> does anyone know how to fix this problem?  
> > \> greetings, Dirk.  
> > \>  
> > \>

---

<div class="post-metadata">

**Author:** ![Curt\_Hibbs2](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@Curt\_Hibbs2](https://rubytalk.org/u/Curt_Hibbs2)\
**Post date:** [1 November 2005 14:27 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054/6 "2005-11-01T14:27:14Z")

</div>

Hmmm... I suppose this could have been my problem when I built 182-15  
of the One-Click Installer. I'll have to check this out.

Curt

> **···**
>
> On 11/1/05, Holger Arndt \<HolgerArndt@gmx.de\> wrote:
> 
> > Hello,
> > 
> > I had the same problem after "gem update ; gem clean". I had to remove  
> > fxruby 1.4-x and reinstall fxruby 1.2-6. Having both versions at the  
> > same time didn't work for me.
> > 
> > Regards,  
> > Holger

---

<div class="post-metadata">

**Author:** ![Curt\_Hibbs2](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@Curt\_Hibbs2](https://rubytalk.org/u/Curt_Hibbs2)\
**Post date:** [1 November 2005 12:20 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054/7 "2005-11-01T12:20:19Z")

</div>

> this doesn't solve the problem, running it with ruby.exe instead of  
> rubyw.exe gives me exactly the same..  
> anyone else have any solutions?  
> greetings, Dirk.

You must be running in to a different problem, then.

Curt

> **···**
>
> On 11/1/05, Dirk Meijer \<hawkman.gelooft@gmail.com\> wrote:
> 
> > 2005/10/31, Curt Hibbs \<curt.hibbs@gmail.com\>:  
> > \>  
> > \> In version 182-15 of the One-Click Installer there is a problem  
> > \> running FXRuby programs using rubyw.exe, but they run correctly with  
> > \> ruby.exe.  
> > \>  
> > \> I believe this problem does not exist in 182-14, which has the same  
> > \> version of, just different versions of the pre-installed extensions.  
> > \>  
> > \> I will make sure that this is resolved by the time we release the  
> > \> installer for 1.8.4 (hopefully around the end of this year).  
> > \>  
> > \> Curt  
> > \>  
> > \> On 10/31/05, Dirk Meijer \<hawkman.gelooft@gmail.com\> wrote:  
> > \> \> hi everyone,  
> > \> \> just a few months ago, i was able to run programs that use fxruby, since  
> > \> \> recently, it has not been working, but i'm not as much into ruby that  
> > \> i'd  
> > \> \> write a fxruby program.. however, i would like to get it back to work.  
> > \> \> i use windows xp, sp2, on-click installer 1.8.2-15  
> > \> \> and i get the following error:  
> > \> \> d:/ruby/lib/ruby/site\_ruby/1.8/rubygems.rb:144:in `activate': can't  
> > \> \> activate fxruby (= 1.2.6), already activated fxruby-1.4.2-mswin32]  
> > \> \> (Gem::Exception)  
> > \> \> from d:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:23:in  
> > \> \> `require'  
> > \> \> from d:/ruby/lib/ruby/gems/1.8/gems/fxri-0.3.2/./fxri:10  
> > \> \> from D:/ruby/bin/fxri:18:in `load'  
> > \> \> from D:/ruby/bin/fxri:18  
> > \> \> does anyone know how to fix this problem?  
> > \> \> greetings, Dirk.  
> > \> \>  
> > \> \>  
> > \>  
> > \>

---

<div class="post-metadata">

**Author:** ![soxinbox1](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@soxinbox1](https://rubytalk.org/u/soxinbox1)\
**Post date:** [9 November 2005 02:12 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054/8 "2005-11-09T02:12:12Z")

</div>

Is this caused by a require of a method that exists in 1.2-6 that no longer  
exists in 1.4-x?  
If anyone is brave enough to tackle this problem, than I will be glad to  
assist by testing on a system that generates this error with consistency.

"Curt Hibbs" \<curt.hibbs@gmail.com\> wrote in message  
news:31d15f490511010627w4fa63041g5525cf9b396fc990@mail.gmail.com...  
Hmmm... I suppose this could have been my problem when I built 182-15  
of the One-Click Installer. I'll have to check this out.

Curt

> **···**
>
> On 11/1/05, Holger Arndt \<HolgerArndt@gmx.de\> wrote:
> 
> > Hello,
> > 
> > I had the same problem after "gem update ; gem clean". I had to remove  
> > fxruby 1.4-x and reinstall fxruby 1.2-6. Having both versions at the  
> > same time didn't work for me.
> > 
> > Regards,  
> > Holger

---

<div class="post-metadata">

**Author:** ![Curt\_Hibbs2](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@Curt\_Hibbs2](https://rubytalk.org/u/Curt_Hibbs2)\
**Post date:** [9 November 2005 14:43 UTC](https://rubytalk.org/t/fxruby-doesnt-work/22054/9 "2005-11-09T14:43:02Z")

</div>

Looks like I didn't read the original message closely enough. The  
problem I encountered was strictly with 1.2.6 and did not involve  
1.4.x. Sorry for the confusion.

Curt

> **···**
>
> On 11/8/05, soxinbox \<faker@yahoo.com\> wrote:
> 
> > Is this caused by a require of a method that exists in 1.2-6 that no longer  
> > exists in 1.4-x?  
> > If anyone is brave enough to tackle this problem, than I will be glad to  
> > assist by testing on a system that generates this error with consistency.
> > 
> > "Curt Hibbs" \<curt.hibbs@gmail.com\> wrote in message  
> > news:31d15f490511010627w4fa63041g5525cf9b396fc990@mail.gmail.com...  
> > Hmmm... I suppose this could have been my problem when I built 182-15  
> > of the One-Click Installer. I'll have to check this out.
> > 
> > Curt
> > 
> > On 11/1/05, Holger Arndt \<HolgerArndt@gmx.de\> wrote:  
> > \> Hello,  
> > \>  
> > \> I had the same problem after "gem update ; gem clean". I had to remove  
> > \> fxruby 1.4-x and reinstall fxruby 1.2-6. Having both versions at the  
> > \> same time didn't work for me.  
> > \>  
> > \> Regards,  
> > \> Holger  
> > \>  
> > \>
