# FXRuby Install

**URL:** <https://www.ruby-forum.com/t/fxruby-install/70680>\
**Category:** Ruby\
**Created:** [October 2, 2006, 12:44am UTC](https://www.ruby-forum.com/t/fxruby-install/70680 "2006-10-02T00:44:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![djmook](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/d6d6ee/32.png) [@djmook](https://www.ruby-forum.com/u/djmook)\
**Post date:** [October 2, 2006, 12:44am UTC](https://www.ruby-forum.com/t/fxruby-install/70680/1 "2006-10-02T00:44:57Z")

</div>

I am running Ubuntu Dapper Drake.

I’m trying to install FXRuby using Ruby Gems. I’ve installed the Fox  
Toolkit v1.4 and 1.2c using the package manager. Now the instructions  
([http://www.ubuntuforums.org/showthread.php?t=31532](http://www.ubuntuforums.org/showthread.php?t=31532)) say that I should  
open up irb and test out the results.

The results I should get:  
“irb(main):001:0\> require ‘rubygems’  
=\> true  
irb(main):002:0\> require\_gem ‘fxruby’  
=\> true  
irb(main):003:0\> include Fox  
=\> Object”

The results I get:  
"irb(main):001:0\> require ‘rubygems’  
=\> true  
irb(main):002:0\> require\_gem ‘fxruby’  
=\> true  
irb(main):003:0\> include Fox  
NameError: uninitialized constant Fox  
from (irb):3  
"

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![djmook](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/d6d6ee/32.png) [@djmook](https://www.ruby-forum.com/u/djmook)\
**Post date:** [October 2, 2006, 1:17am UTC](https://www.ruby-forum.com/t/fxruby-install/70680/2 "2006-10-02T01:17:48Z")

</div>

On 10/1/06, Mark C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> irb(main):002:0\> require\_gem ‘fxruby’  
> NameError: uninitialized constant Fox  
> from (irb):3

What do you get if you do:

```
require 'rubygems'

```

followed by:

```
require 'fox14'

```

– Lyle

---

<div class="post-metadata">

**Author:** ![djmook](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/d6d6ee/32.png) [@djmook](https://www.ruby-forum.com/u/djmook)\
**Post date:** [October 2, 2006, 1:26am UTC](https://www.ruby-forum.com/t/fxruby-install/70680/3 "2006-10-02T01:26:06Z")

</div>

Lyle J. wrote:

> On 10/1/06, Mark C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > irb(main):002:0\> require\_gem ‘fxruby’  
> > NameError: uninitialized constant Fox  
> > from (irb):3
> 
> What do you get if you do:
> 
> ```
> require 'rubygems'
> 
> ```
> 
> followed by:
> 
> ```
> require 'fox14'
> 
> ```
> 
> – Lyle

LoadError: no such file to load – fox14  
from  
/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’  
from (irb):2

---

<div class="post-metadata">

**Author:** ![djmook](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/d6d6ee/32.png) [@djmook](https://www.ruby-forum.com/u/djmook)\
**Post date:** [October 2, 2006, 8:54am UTC](https://www.ruby-forum.com/t/fxruby-install/70680/4 "2006-10-02T08:54:19Z")

</div>

Well i have also problems using gentoo,suse or slackware gems fox/fxruby  
(i even had the same error messages so itÂ´s the same problem i  
guess…). Well my problem was sort of solved, after installing  
fox/fxruby from the source and not from the gem.

right now i use fox and fxruby 1.6.1 and it all works nicely.

Mark C. schrieb:

---

<div class="post-metadata">

**Author:** ![djmook](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/d6d6ee/32.png) [@djmook](https://www.ruby-forum.com/u/djmook)\
**Post date:** [October 2, 2006, 3:38pm UTC](https://www.ruby-forum.com/t/fxruby-install/70680/5 "2006-10-02T15:38:57Z")

</div>

Marinho T. wrote:

> > Lyle J. wrote:
> > 
> > > 
> > 
> > ```
> > from
> > 
> > ```

Yeah, the whole Gentoo FreeRide/fxscintilla/fxruby/fox chain only works  
at the 1.2 level of Fox. More recent Fox versions need some work. Part  
of the problem was that quite a bit of gentle nudging was required to  
get them all to compile with gcc 4.1.1. I haven’t been able to get it  
all to work at the 1.6 level; the latest “stable” fxscintilla only works  
up to Fox 1.4 and the CVS fxscintilla didn’t compile.

There are Gentoo bugzilla entries for most of this, but I don’t know  
about any of the other distros. I’ll take another stab at getting it all  
to work this coming weekend.
