Fix deprecated :rubygems warnings

fixes #10