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

Get it at: 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

On 12/22/06, Lyle J. [email protected] 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. :wink:

Good point :slight_smile:

m.

On 12/20/06, Martin DeMello [email protected] 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. :wink:

On 12/21/06, Martin DeMello [email protected] 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?

On 12/22/06, hemant [email protected] wrote:

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

fxirb != fxri :slight_smile:

martin