Re: [Ironruby-core] [AutoCAD and IronRuby]

2011-03-29 Thread Timothy Barnes
Murat, I was successful in getting Excel to talk to AutoCAD. I had to revert back to IronRuby 0.9.1 b/c IronRuby 1+, so far has been kicked out of Autocad saying that .NET is too new. Here is what I used: Applications: SharpDevelop 4.0 (b/c I'm new to visual studio) IronRuby 0.9.1 Autocad 2011 E

Re: [Ironruby-core] [AutoCAD and IronRuby]

2011-03-03 Thread Timothy Barnes
Don't use the email above. I am having problems with it. Instead use: barnes...@gmail.com Sorry. Timothy -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironr

Re: [Ironruby-core] [AutoCAD and IronRuby]

2011-03-03 Thread Timothy Barnes
You can email me at: barnes...@sbcglobal.net Timothy -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] [AutoCAD and IronRuby]

2011-03-02 Thread Timothy Barnes
you can give me your version of windows and your version of Autocad I can probably get you started. From there you can explore the vast undiscovered potential the 2-3 other people interested in this subject get to wander in. Timothy Barnes -- Posted via http://www.ruby-forum.com/. _

Re: [Ironruby-core] Using win32ole "connect" method on Ironruby

2011-02-25 Thread Timothy Barnes
It appears to be that the WIN32OLE.connect method cannot be fixed as long as the WIN32OLE is class in IronRuby. This is b/c the connect method substitutes for the new(initialize) method when called. I don't believe ruby allows you to create a class instance with out calling the new method. Th

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-12 Thread Timothy Barnes
I have attached the output.log file. Timothy Attachments: http://www.ruby-forum.com/attachment/5352/output.log -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-12 Thread Timothy Barnes
This is all the text left in the command prompt box. Unless there is a way to record what happens (or different software), I don't know how to capture all of the text for the build. Timothy Attachments: http://www.ruby-forum.com/attachment/5343/msbuild_errors.txt -- Posted via http://www.rub

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-11 Thread Timothy Barnes
I did not have VS SDK 2010, which I now have installed and the build is still failing. I have attached a copy of some of the error text from the unsuccessful build, if you want to look. More info: Only have Visual C# Express 2010 installed - Not sure if this is affecting the build. Using comma

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-10 Thread Timothy Barnes
I did pass /p:Configuration=Release to msbuild and checked the debug folder. I did get 4 errors which might have been the cause. They were 20-30 lines long so I didn't type them out here. Would it help for me to post them? Also, am I correct in the fact that you have to build the solution Ruby.

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-10 Thread Timothy Barnes
Tomas, I built the binaries using msbuild (command line). I then copy all of the resulting files into my bin folder and now even using ir.exe results in an error message: unknown: no such file to load -- gem_prelude.rb (LoadError) Can you tell me what I have done wrong? Also, when I tried to

Re: [Ironruby-core] Using win32ole "connect" method on Ironruby

2010-11-09 Thread Timothy Barnes
Thanks for the help. I will see what I can do. Timothy -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Using win32ole "connect" method on Ironruby

2010-11-09 Thread Timothy Barnes
I would love to write a patch to ironRuby. However, I am not sure about how to do that. I am not even really sure where to look for the issue in the ironruby library, nor I do I really have git fully figured out to submit my patch back to ironruby. I am still trying to get up to speed on how a

[Ironruby-core] Using win32ole "connect" method on Ironruby

2010-11-09 Thread Timothy Barnes
When trying to use the connect method inside the win32ole module. Ironruby pops up: "undefined method 'connect' for WIN32OLE:Class" I see that has been logged as an official issue at: http://ironruby.codeplex.com/workitem/4612 However, it has not been assigned to anyone to fix and previous ques

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-08 Thread Timothy Barnes
Tomas, Where should I look for this file when you are finished? Timothy -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-03 Thread Timothy Barnes
Tomas, Do you mean create a irw.exe file? That would be great. I don't want to take up too much of your time, but it would be a great help. Again, thanks for the replies. Timothy -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing l

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-03 Thread Timothy Barnes
Tomas, I appreciate the suggestion. The reason I was trying to do this was to create and .exe file that I can distribute to other co-workers without them having to understand what ruby is. The only other answer I can't find through internet searches is whether on not I can suppress the console

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-03 Thread Timothy Barnes
Dotan, Thanks for the links. I have been looking for a place to explain encoding well for awhile. I am a self-trained programmer and sometimes it is hard to find good info to increase my knowledge base. Thanks for the help. -- Posted via http://www.ruby-forum.com/. ___

Re: [Ironruby-core] Running IronRuby script from C#

2010-11-03 Thread Timothy Barnes
Thanks for the replies. I recreated hello.rb in Scite and the program worked. I have read about UTF8 encoding and ruby, but had not ran into it before, and I didn't not know what the symbols in front of the hello.rb text meant (see VS error message). So thanks for the help. Tomas: I was using

[Ironruby-core] Running IronRuby script from C#

2010-11-02 Thread Timothy Barnes
I am trying to get a Ruby file to run through C#. I was reading through "Ruby Unleashed" (book), and it appears to be easy. However, I keep getting an error on a very simple test. The text of my programs are: C#: using System; using Microsoft.Scripting.Hosting; using IronRuby; class Run_Ruby