OK, well you can if it will only be a Windows application, use OLE.
- OLE Background
- OLE Concepts and Requirements Overview
- Automation (formerly called OLE Automation)
- Microsoft Interface Definition Language
For the SketchUp Ruby to OLE side, see:
… and the Ruby Standard library: