To high speed access the .NET framework from Ruby you can write own Ruby extension on C++/CLI. So you can create custom wrapper for .NET class and optimize them for your needs.