add configure block
add ruby for tests
Merge pull request #8 from le0pard/master

Add configure block