# Fxirb-0.3.1: now with .gem and setup.rb

**URL:** <https://www.ruby-forum.com/t/fxirb-0-3-1-now-with-gem-and-setup-rb/80039>\
**Category:** Ruby\
**Created:** [December 20, 2006, 10:58pm UTC](https://www.ruby-forum.com/t/fxirb-0-3-1-now-with-gem-and-setup-rb/80039 "2006-12-20T22:58:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [December 20, 2006, 10:58pm UTC](https://www.ruby-forum.com/t/fxirb-0-3-1-now-with-gem-and-setup-rb/80039/1 "2006-12-20T22:58:30Z")

</div>

Get it at: [http://rubyforge.org/projects/fxirb/](http://rubyforge.org/projects/fxirb/)

This is mostly a packaging release - fxirb now comes as a gem or a  
tarball with setup.rb, a rakfile that uses hoe to create the  
aforementioned gem, and a separate fxirb executable (cut and pasted  
from the if $0 == **FILE** section). Also, it now tries _really_ hard  
to find fxruby:

begin  
require ‘rubygems’  
require\_gem ‘fxruby’, ‘\>= 1.2.0’  
rescue LoadError  
begin  
require ‘fox16’  
rescue LoadError  
begin  
require ‘fox14’  
rescue LoadError  
require ‘fox12’  
end  
end  
end

I’ve also listed fxruby \>= 1.2.0 as a dependency in the gem - will  
that cause problems for people who want to install fxruby by some  
other method, but fxirb from the gem?

martin

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [December 22, 2006, 10:47am UTC](https://www.ruby-forum.com/t/fxirb-0-3-1-now-with-gem-and-setup-rb/80039/2 "2006-12-22T10:47:00Z")

</div>

On 12/22/06, Lyle J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I personally don’t see this as a problem; if your users are installing  
> FXIrb as a gem, they should be open to installing FXRuby as a gem as  
> well. 😉

Good point 🙂

m.

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [December 22, 2006, 5:42am UTC](https://www.ruby-forum.com/t/fxirb-0-3-1-now-with-gem-and-setup-rb/80039/3 "2006-12-22T05:42:37Z")

</div>

On 12/20/06, Martin DeMello [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’ve also listed fxruby \>= 1.2.0 as a dependency in the gem - will  
> that cause problems for people who want to install fxruby by some  
> other method, but fxirb from the gem?

Yes, I believe that the RubyGems dependency mechanism only works with  
other gems – it won’t be able to recognize the fact that FXRuby has  
been installed by some other means.

I personally don’t see this as a problem; if your users are installing  
FXIrb as a gem, they should be open to installing FXRuby as a gem as  
well. 😉

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [December 22, 2006, 12:15pm UTC](https://www.ruby-forum.com/t/fxirb-0-3-1-now-with-gem-and-setup-rb/80039/4 "2006-12-22T12:15:12Z")

</div>

On 12/21/06, Martin DeMello [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> require\_gem ‘fxruby’, ‘\>= 1.2.0’  
> end
> 
> I’ve also listed fxruby \>= 1.2.0 as a dependency in the gem - will  
> that cause problems for people who want to install fxruby by some  
> other method, but fxirb from the gem?

Hey Martin, Will it be possible to use fri(fastri-server) with fxri?

---

<div class="post-metadata">

**Author:** ![Martin\_DeMello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Post date:** [December 22, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/fxirb-0-3-1-now-with-gem-and-setup-rb/80039/5 "2006-12-22T18:14:02Z")

</div>

On 12/22/06, hemant [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hey Martin, Will it be possible to use fri(fastri-server) with fxri?

fxirb != fxri 🙂

martin
