Revert "Stop distinguishing by version number"

This reverts commit ae70bab524080e28a977c47a5fc89ed6039c618c.
Fix wrong implementations
Stop using ruby version number
Make compatible with 2.1.1