Better detection of ruby version
Adapt specs to use rubyversion for ruby lib version detection
Merge pull request #25 from raphink/review/PR24

PR #24 + specs