switch to ruby-version
remove old adapter code