niftylettuce/eskimo — pull request #77 by gimenete (2014-10-02 13:17:38+00:00)
Title: Support running the app from any directory

At this moment if you run the `app.js` from other directory you get this error:

```
error: Cannot call method 'listen' of undefined
error: TypeError: Cannot call method 'listen' of undefined
at Function. (/Users/gimenete/projects/eskimo/node_modules/igloo/lib/boot/server.js:50:19)
at next (/Users/gimenete/projects/eskimo/node_modules/bootable/lib/initializer.js:43:15)
at next (/Users/gimenete/projects/eskimo/node_modules/bootable/lib/initializer.js:46:9)
at next (/Users/gimenete/projects/eskimo/node_modules/bootable/lib/initializer.js:46:9)
at Function.initializers (/Users/gimenete/projects/eskimo/node_modules/bootable/node_modules/bootable-di/lib/phases/initializers.js:53:36)
at next (/Users/gimenete/projects/eskimo/node_modules/bootable/lib/initializer.js:43:15)
at Initializer.run (/Users/gimenete/projects/eskimo/node_modules/bootable/lib/initializer.js:52:3)
at Function.app.boot (/Users/gimenete/projects/eskimo/node_modules/bootable/lib/index.js:42:23)
at Object. (/Users/gimenete/projects/eskimo/app.js:38:5)
at Module._compile (module.js:456:26)
```

It seems that `bootable` does not find the files inside `etc/init`.

Changing the working directory in the beginning solves the problem.