starting with ruby 2.1.0 the head branch is 2.1, fix #2512