Skip to content


Repository files navigation



R2CORBA (Ruby2CORBA) is a CORBA language mapping implementation for the Ruby programming language.


R2CORBA provides a complete implementation of the standard OMG Ruby CORBA Language Mapping (RCLM) compliant with the latest version of the CORBA standard.

R2CORBA includes:

  • an RCLM compliant RIDL code generator backend

  • an RCLM compliant API

  • multiple ORB implementations through an extension framework

Instead of going for a complete native Ruby mapping implementing a native Ruby ORB, R2CORBA aims at providing CORBA functionality through a Ruby extension using the DII and DSI interfaces of an existing CORBA ORB implementation. There are currently two flavors of this extension available:

  • an MRI Ruby extension written in Ruby and C/C++ using TAO

  • a JRuby extension written in Ruby and Java using JacORB

The RIDL based, native Ruby implementation of an OMG IDL compiler supplements this extension and provides powerful features like direct inclusion of IDL language modules into your Ruby programs without the need of explicit, separate stub generation.

How to get R2CORBA


gem install r2corba

to install R2CORBA as a gem.


If you find a bug, please report it at the R2CORBA project’s issue tracker.


R2CORBA is Copyright © 2007-2023 Remedy IT Expertise BV, The Netherlands.

It is free software, and may be redistributed under the terms specified in the LICENSE file.


See the THANKS file.


This software is provided “as is” and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.

Releasing new r2corba gems

A new r2corba ruby gem release can be made by incrementing the R2CORBA version in lib/corba/common/version.rb and create a new release on github matching the new version (for example v1.6.0). The github Ruby Gem Release action will automatically create a new r2corba and taosource gem and push these to

A new R2CORBA taosource gem can be created by executing

rake r2corba:gem:taogem