[Ironruby-core] Using IronRuby from Ruby (newbie)

Jimmy Schementi Jimmy.Schementi at microsoft.com
Mon Dec 28 10:43:51 EST 2009


To access the .NET framework from MRI (the Ruby implementation you are currently using), your best bet is to use RubyCLR: http://rubyforge.org/projects/rubyclr/. It is a native bridge between Ruby and the CLR, using Ruby's Win32OLE support to talk directly to the CLR hosting APIs.

~js
________________________________________
From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] on behalf of Ameer Deen [lists at ruby-forum.com]
Sent: Monday, December 28, 2009 6:58 AM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Using IronRuby from Ruby (newbie)

Hello,

I'm working in an environment that's very Ruby heavy and I've never used
ruby before. I need to be able to access Windows performance counters in
from a Windows service is written in native Ruby (not IronRuby). I'm
traditionally a C# and JAVA programmer.

I was wondering if it might be possible for Ruby to be able to access
the .Net System.Diagnostics performance counters via IronRuby. Of
course, if there's a much simpler way I'm all ears.

I tried searching the forum and it seems my searching skills are not up
to par and apologize if this has been already answered. Thanks in
advance for any help.


Ameer.
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list