# RubyCLR anyone?

**URL:** <https://www.ruby-forum.com/t/rubyclr-anyone/160451>\
**Category:** IronRuby\
**Created:** [February 16, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/rubyclr-anyone/160451 "2009-02-16T15:36:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zwadar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@zwadar](https://www.ruby-forum.com/u/zwadar)\
**Post date:** [February 16, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/rubyclr-anyone/160451/1 "2009-02-16T15:36:21Z")

</div>

Hi,  
I asked this question  
[http://www.ruby-forum.com/topic/178661](http://www.ruby-forum.com/topic/178661)  
in main ruby forums, because its about MRI ruby and it’s gem, but maybe  
here I can find someone who will know the answer or at least can provide  
some useful information.

I’m really looking forward to start using IronRuby after it’s first  
stable release, before this I’m stuck with MRI. :-/

Thanks

---

<div class="post-metadata">

**Author:** ![zwadar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@zwadar](https://www.ruby-forum.com/u/zwadar)\
**Post date:** [February 16, 2009, 4:10pm UTC](https://www.ruby-forum.com/t/rubyclr-anyone/160451/2 "2009-02-16T16:10:04Z")

</div>

Subversion already has MRI ruby bindings.You may want to look into those  
instead of interop with .NET

[http://www.oneofthewolves.com/2007/03/06/ruby-subversion-bindings-finally-some-documentation/](http://www.oneofthewolves.com/2007/03/06/ruby-subversion-bindings-finally-some-documentation/)  
[http://www.oneofthewolves.com/2007/12/22/ruby-subversion-bindings-better-documentation/](http://www.oneofthewolves.com/2007/12/22/ruby-subversion-bindings-better-documentation/)

> **[Agylen Blog Photographi](http://agylen.com/)**

[http://svn.collab.net/repos/svn/trunk/subversion/bindings/swig/ruby/](http://svn.collab.net/repos/svn/trunk/subversion/bindings/swig/ruby/)

---

<div class="post-metadata">

**Author:** ![zwadar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@zwadar](https://www.ruby-forum.com/u/zwadar)\
**Post date:** [February 16, 2009, 9:20pm UTC](https://www.ruby-forum.com/t/rubyclr-anyone/160451/3 "2009-02-16T21:20:31Z")

</div>

Doh. Last time I looked at svn ruby bindigs a found somewhere that they  
are not compilable under windows. I must look at at this more often,  
since now there is nice distribution of svn ruby bindings for windows on  
[http://subversion.tigris.org](http://subversion.tigris.org) site.  
Thank you very much!

But I still want to know how to solve .NET interop with SharpSVN or with  
some other .NET library with similar usage. Or if only way how to use  
it, is to wirte some wrapper class around it to be able to use it from  
RubyCLR or even from IR…

Thanks.

Ivan Porto C. napsal(a):

---

<div class="post-metadata">

**Author:** ![zwadar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@zwadar](https://www.ruby-forum.com/u/zwadar)\
**Post date:** [February 16, 2009, 10:58pm UTC](https://www.ruby-forum.com/t/rubyclr-anyone/160451/4 "2009-02-16T22:58:07Z")

</div>

You should be able to do it with ironruby and your example ported would  
look  
like

require ‘SharpSVN.dll’

target\_path = "C:/dev/experiments/silverlight’  
target = SvnTarget.parse target\_path

client = SvnClient.new  
begin  
client.log target, Action.new(&lambda { |sender, args| … }  
finally  
client.dispose  
end

I’m not sure about the parse method… I just translated it in gmail

Cheers  
Ivan
