On Feb 7, 1:20 ¨Âí¬ ¤Âñáki Baz Castillo <i... / aliax.net> wrote:
> El Domingo, 7 de Febrero de 2010, Intransition escribi
>
> > DNote v1.1.2
>
> >http://proutils.github.com/dnote/
>
> Hi, a bug occurs when running it in Ruby1.9:
>
> $ dnote .
> /usr/local/lib/ruby1.9/gems/1.9.1/gems/dnote-1.1.2/bin/dnote:2:in `load':o
> such file to load -- dnote/command (LoadError)
> from /usr/local/lib/ruby1.9/gems/1.9.1/gems/dnote-1.1.2/bin/dnote:2:in
> `<top (required)>'
> from /usr/local/bin/dnote:19:in `load'
> from /usr/local/bin/dnote:19:in `<main>'
>
> However it can be solved cy replacing in bin/dnote:
>
> load "dnote/command"
>
> with:
>
> load "dnote/command.rb"

That would work too. Probably doesn't matter, but to be certain, I'll
pose the question: are there any good reasons to use #load in a bin
file instead of #require?

Thanks Iñáki.