[Nitro] Bug and feature Request
Michael Fellinger
m.fellinger at gmail.com
Sun Nov 26 07:29:06 EST 2006
On 11/26/06, Aleksandar Lazic <al-nitrogen at none.at> wrote:
> Hi,
>
> I have try to call nitro and have get the following error:
>
> ---
> /home/al/progs/ruby/lib/ruby/gems/1.8/gems/nitro-0.40.0/bin/nitro -help
>
> /home/al/progs/ruby/lib/ruby/gems/1.8/gems/nitro-0.40.0/bin/nitro:5:in
> `require': no such file to load -- facets/more/command (LoadError)
> from
> /home/al/progs/ruby/lib/ruby/gems/1.8/gems/nitro-0.40.0/bin/nitro:5
> ---
>
> After I have add 'ruby -rubygems' before the nitro call it works ;-)
>
> 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
>
> How about to add the '--help' option wich show all available options?
>
> Regards
>
> Aleks
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
More information about the Nitro-general
mailing list