applicationsonline/librarian — Issue #28: librarian throws errors when using "wrong" array structure
Author: patcon
Created: 2011-12-08 09:31:57+00:00
State: open

Sorry if I'm just kinda making up technical words here, but I don't know the specific term.

Basically, I did this in one metadata.rb:

```
%{
apache2
apt
gpg
}.each do |cookbook|
depends cookbook
end
```

It actually worked for awhile, but threw random errors. Also noticed that it created a folder deep down in /tmp called `\n`.

In retrospect, I should've been using `%w{ }`, but it couldn't hurt to deal with it so it doesn't discourage someone else :)

Come to think of it, I think I picked up that format from fujin while I was browsing the pennyworth code, so it might explain my weird sporadic errors over there too

Cheers!