Iron Ruby クラス/オブジェクトをネイティブ Ruby インタープリター (irb) 駆動クラス (gem のようなものを使用) で使用できるかどうか疑問に思っています。主な問題は、Iron Ruby と互換性のないいくつかの宝石 (例: nokogiri) を使用している Ruby クラスがあり、Iron Ruby クラスが .Net ライブラリを使用していることです。要するに、ネイティブ Ruby で鉄の Ruby クラスと通信する方法があるかどうかを知りたいです。これを解決する代替手段がある場合は、それらについて言及してください。
1 に答える
2
No other way than having two different processes for each ruby interpreter running with some kind of communication. You could use distributed ruby for that. Anyway, the best thing to do is to not use .Net libraries and replace them with something else from ruby world.
于 2012-12-19T00:46:12.670 に答える