[Nitro] Bug and feature Request

Aleksandar Lazic al-nitrogen at none.at
Sun Nov 26 08:31:09 EST 2006


On Son 26.11.2006 21:29, Michael Fellinger wrote:
>On 11/26/06, Aleksandar Lazic <al-nitrogen at none.at> wrote:
>
>> Is it possible to add such a similar code to the nitro-cli:
>>
>> eval facets
>> if ok => go further
>> if nok => try with rubygems
>>   if ok => go further
>>   else by by baby!
>
>in actual ruby:
>
>begin
>  require 'facets'
>rescue LoadError
>  begin
>    require 'rubygems'
>    require 'facets'
>  end
>end

Cool thanks ;-))))

For archive purpose:

I have know this lines in bin/nitro:

---
.
.
#require 'facets/more/command'
begin
  require 'facets/more/command'
rescue LoadError
  begin
    require 'rubygems'
    require 'facets/more/command'
  end
end
.
.
---


@George: how about to add this to 0.41.x ;-)

Regards

Aleks


More information about the Nitro-general mailing list