It’s always good practice to add reference link to what you are talking about, e.g. Undet for SketchUp.
What error did you run into? The error message can give important hints where the problem lies (or it contains nothing useful).
The challenge here is that Undet certainly is not a 100% Ruby extension, but loads a binary or connects to a separate application process. This adds complication which makes it likelier that something fails.