Allow rubygems package

Rebase and closes #6