Minor ruby script fixes

- Define config file using an absolute path
- Use array iteration for markdown files

Signed-off-by: Byron Sanchez <bfs5030@gmail.com>