# DNote 1.1.2

**URL:** <https://www.ruby-forum.com/t/dnote-1-1-2/183076>\
**Category:** Ruby\
**Created:** [February 7, 2010, 5:59pm UTC](https://www.ruby-forum.com/t/dnote-1-1-2/183076 "2010-02-07T17:59:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcsnide](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Post date:** [February 7, 2010, 5:59pm UTC](https://www.ruby-forum.com/t/dnote-1-1-2/183076/1 "2010-02-07T17:59:42Z")

</div>

DNote v1.1.2

[http://proutils.github.com/dnote/](http://proutils.github.com/dnote/)

Developer’s take note! All those “TODO” and “FIXME” notes floating  
around your source code are rotting away. They are trapped and in  
certain need of your attention.

But not to fret! DNote will help you liberate them. DNote will scan  
your source code for labeled comments; collect, collate and sort them;  
and then return them to you in a format of your choosing. Wunderbar!

== 1.1 / 2010-02-06

This release primarily adjusts the way output is rendered under-the-  
hood. Serialization formats are rendered as before but markup formats  
now use Erb. In the process two new serialization formats have been  
added: soap and xoxo (you need the supporting libraries installed for  
them to work).

Also, this release renames the lib/plugin directory to lib/plugins  
(plural) per the new convention of the latest Plugin gem. This only  
matters to Syckle users.

1.1.2 fixes indentions for rdoc and markdown formats and improves the  
default textual output format.

---

<div class="post-metadata">

**Author:** ![tcsnide](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Post date:** [February 7, 2010, 7:21pm UTC](https://www.ruby-forum.com/t/dnote-1-1-2/183076/2 "2010-02-07T19:21:03Z")

</div>

El Domingo, 7 de Febrero de 2010, Intransition  
escribió:\> DNote v1.1.2

> [http://proutils.github.com/dnote/](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': no 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 `’

However it can be solved cy replacing in bin/dnote:

load “dnote/command”

with:

load “dnote/command.rb”

---

<div class="post-metadata">

**Author:** ![tcsnide](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Post date:** [February 7, 2010, 7:24pm UTC](https://www.ruby-forum.com/t/dnote-1-1-2/183076/3 "2010-02-07T19:24:34Z")

</div>

FYI. Just pushed out 1.1.3. There was a bug 1.1.2 where the binary was  
using ‘load’ instead of ‘require’ and was not finding the dnote/  
command file.

Thanks to Erik Ostrom for reporting this.

---

<div class="post-metadata">

**Author:** ![tcsnide](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Post date:** [February 7, 2010, 7:45pm UTC](https://www.ruby-forum.com/t/dnote-1-1-2/183076/4 "2010-02-07T19:45:03Z")

</div>

On Feb 7, 1:20 pm, Iñaki Baz C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ```
> from /usr/local/lib/ruby1.9/gems/1.9.1/gems/dnote-1.1.2/bin/dnote:2:in
> 
> ```
> 
> 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ñaki.

---

<div class="post-metadata">

**Author:** ![tcsnide](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Post date:** [February 7, 2010, 8:11pm UTC](https://www.ruby-forum.com/t/dnote-1-1-2/183076/5 "2010-02-07T20:11:23Z")

</div>

El Domingo, 7 de Febrero de 2010, Intransition  
escribió:\> 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?

Take a look to this post explaining it:

[http://www.fromjavatoruby.com/2008/10/require-vs-load.html](http://www.fromjavatoruby.com/2008/10/require-vs-load.html)

---

<div class="post-metadata">

**Author:** ![tcsnide](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Post date:** [February 7, 2010, 9:08pm UTC](https://www.ruby-forum.com/t/dnote-1-1-2/183076/6 "2010-02-07T21:08:45Z")

</div>

On Feb 7, 2:07 pm, Iñaki Baz C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> El Domingo, 7 de Febrero de 2010, Intransition escribió:
> 
> > 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?
> 
> Take a look to this post explaining it:
> 
> [http://www.fromjavatoruby.com/2008/10/require-vs-load.html](http://www.fromjavatoruby.com/2008/10/require-vs-load.html)

Thanks. Basically reiterates what I already knew. But reading it again  
helped clarify for me that require is the way to go.
