[WIP] Accommodate to modern Ruby

Let the package run on modern Ruby environments.

This will fix #1.