RubyCLR anyone?

Hi,
I asked this question
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

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/12/22/ruby-subversion-bindings-better-documentation/

http://svn.collab.net/repos/svn/trunk/subversion/bindings/swig/ruby/

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 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):

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