(1) This library was gemified, but unfortunately it is uncompiled.
(2) The version you cite is actually a year out of date. This is a good example of what Thomas was talking about. There then exists the high probability that someone else will package to later version, or if you packaged the later, someone else would likely package the earlier.
This is the latest version 5.0.3 which uses the 5.x Clipper library:
https://rubygems.org/gems/ruby_clipper
Which points at project:
So to do what Thomas says, you need to change the “rbclipper.cpp” file a bit.
Change line 353 to:
VALUE top = rb_define_module("Rojj");
… or whatever your toplevel namespace module name is.
And change line 354 to:
VALUE mod = rb_define_module_under(top,"Clipper");
Then the “version.rb” file needs to be also wrapped within your toplevel module.
Example:
module Rojj::Clipper
# Keep first two components sync'd to Clipper's major/minor.
# Last is our build number based on that. Hopefully there
# won't be too much churn re: Clipper's version vs. the bindings.
VERSION = "5.0.3"
end