Merging pull request from debone for nicer version detection in erbs