Iron Ruby?
-
Anyone experiment with Iron Ruby?
I'm looking for someone to lend a hand with setting it up on my PC.
I have VS.NET 2008 Standard Edtion. (Comes with VB & C#)Thanks,
-
I've looked into it a little bit, but the problem is that iron ruby is meant to run ruby code in .NET, not the other way around.
Not to mention that sketchup uses it's own class library.
What are you looking for, exactly?EDIT: After looking some more into it, Iron Ruby can run .NET code. But because Sketchup uses it's own API you can't attach iron ruby, as far as I know.
-
@cjthompson said:
After looking some more into it, Iron Ruby can run .NET code. But because Sketchup uses it's own API you can't attach iron ruby, as far as I know.
SketchUp exposes a SketchUpLib that supposedly you can access through C++ which MS VS Supports along with C#. I am thinking that there might be a way to latch onto the SketchUp Ruby API with a work around. Perhaps a C++ Interop wrapper that Iron Ruby could exploit.
The main reason I want to get an understanding of Iron Ruby is so that I can use the VS Debugger with Ruby and someday... (Hope against Hope) Intellisense. Which is a huge step forward twards learning a language in OOP.
Another reason is that I am comfortable with the MS Visual Studio IDE. Finally I would hope that one could use Ruby with the Windows Forms tools.
-
I don't know if this is what you are looking for, but have you looked into Ruby in Steel? it's a VS extension for Ruby. I found the free version works well for me. I'm not sure what you mean by using the Windows forms tools, though.
As for the SketchupLib, that's a bit over my head. I'm still a .NET noob.
-
@cjthompson said:
have you looked into Ruby in Steel? it's a VS extension for Ruby. I found the free version works well for me. I'm not sure what you mean by using the Windows forms tools, though.
Isn't Ruby in Steel used to create Web based apps?
Web programming is not area. I write Windows Desktop Apps.
-
Ruby in Steel just allows you to type .rb files in VS, although I think I misunderstood you. Are you trying to find an IDE to write scripts or are you trying to find a way to connect .NET Applications with Sketchup?
-
@cjthompson said:
Ruby in Steel just allows you to type .rb files in VS, although I think I misunderstood you. Are you trying to find an IDE to write scripts or are you trying to find a way to connect .NET Applications with Sketchup?
First:
I would like to use the best IDE for the job.
A Good Debugger with the ability to step througb code and hopefully a level of intellisense. VS should provide both.
Even if I have to write pseudo modules that mimic the SU API I feel I would be miles ahead of using a text editor.Second:
Of course I would like to find a way to drive Sketchup from VS. If it means I can use other VS languages so much the better. If it means I have to learn Ruby in VS... Less desireable from my standpoint but not out of the question.I've been poking around the Iron Ruby forum and it looks like IR is based on the Dot.NET framework and requires it to function. It also appears that Iron Ruby is not really ready for public consumption within VS at this time. They are still working toward version 1.00
Cheers,
Advertisement