[ANN] 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

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/20/06, Martin DeMello <martindemello@gmail.com> 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?

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

···

On 12/21/06, Martin DeMello <martindemello@gmail.com> wrote:

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?

--
gnufied
-----------
There was only one Road; that it was like a great river: its springs
were at every doorstep, and every path was its tributary.

Good point :slight_smile:

m.

···

On 12/22/06, Lyle Johnson <lyle.johnson@gmail.com> 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:

fxirb != fxri :slight_smile:

martin

···

On 12/22/06, hemant <gethemant@gmail.com> wrote:

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