[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

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

Martin DeMello

12/20/2006 9:58:00 PM

Get it at: http://rubyforge.org/proje...

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

4 Answers

Lyle Johnson

12/22/2006 4:42:00 AM

0

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?

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

Martin DeMello

12/22/2006 9:46:00 AM

0

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

Good point :)

m.

hemant

12/22/2006 11:14:00 AM

0

On 12/21/06, Martin DeMello <martindemello@gmail.com> wrote:
> Get it at: http://rubyforge.org/proje...
>
> 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?

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

Martin DeMello

12/22/2006 5:13:00 PM

0

On 12/22/06, hemant <gethemant@gmail.com> wrote:
>
> Hey Martin, Will it be possible to use fri(fastri-server) with fxri?
>

fxirb != fxri :)

martin