Ruby Gem plugin

I couldn't change the base of the pull request without a new one. Here's the same thing with additionally gem sorting as well as the pep style fix.