[ANN] fxirb-0.3.1: now with .gem and setup.rb

M

Martin DeMello

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
 
L

Lyle Johnson

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. ;)
 
M

Martin DeMello

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.
 
H

hemant

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?

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top