Re: [Ironruby-core] Very Very initial CMake support

2010-11-03 Thread Tomas Matousek
Which directories do you have on mind? I only see a single csproj file here https://github.com/ironruby/ironruby/tree/8acfd2f7e6c6a7e5484a8141c84065ec269aab62/Languages/Ruby/Ruby There are two here: https://github.com/ironruby/ironruby/tree/8acfd2f7e6c6a7e5484a8141c84065ec269aab62/Languages/Ruby/

Re: [Ironruby-core] RSpec anyone?

2010-11-03 Thread Brian Genisio
I was using RSpec up until a month ago without any trouble. I don't recall doing anything special to get it working. B On Nov 3, 2010 9:30 PM, "William Green" wrote: > Has anyone got RSpec running under IronRuby? I tried to run the RSpec > test suite with IronRuby several months ago and was me

[Ironruby-core] RSpec anyone?

2010-11-03 Thread William Green
Has anyone got RSpec running under IronRuby? I tried to run the RSpec test suite with IronRuby several months ago and was met with a few issues with dependent libs (FakeFS, if I recall correctly). Both projects have advanced since then, but I haven't had a chance to try it again with the latest. S

Re: [Ironruby-core] Very Very initial CMake support

2010-11-03 Thread Andrius Bentkus
On Wed, Nov 3, 2010 at 7:56 PM, Tomas Matousek wrote: > Please don't add yet another build system. > I completely agree with that, though I'm interested why there are 3 sets of all csproj in every project directory? As far > Generating .csproj files is not the right way to go. The project file

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

2010-11-03 Thread Tomas Matousek
Yes, should be easy. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Timothy Barnes Sent: Wednesday, November 03, 2010 2:37 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Running IronRuby script

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 Tomas Matousek
Not today, but it would be easy to implement. I can do it over the weekend if you need it. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Timothy Barnes Sent: Wednesday, November 03, 2010 10:59 AM To: ironruby

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

2010-11-03 Thread Tomas Matousek
I mean you can indeed write a Windows app in C# or VB that hosts IronRuby and that doesn't need the console window (you can redirect standard output to a stream if you would like to display it in some window). The thing that's missing from IronRuby is irw.exe file that would do that for you (we

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

2010-11-03 Thread Dotan N.
it is possible to embed without a console window :) On Wed, Nov 3, 2010 at 7:59 PM, Timothy Barnes wrote: > 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 >

Re: [Ironruby-core] Very Very initial CMake support

2010-11-03 Thread Tomas Matousek
Please don't add yet another build system. Generating .csproj files is not the right way to go. The project files are and should be the primary metadata storage for the build system. If you work in VS and add a new file VS will add it into csproj. If you would like to build some packages (like

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] Very Very initial CMake support

2010-11-03 Thread Alistair Bush
> Having multiple building systems is counterproductive, it's hard to > maintain all of them. > In General I agree. thats is why ultimately I would like cmake to support creating of csproj files. That would need to be implemented, but has already been proven possible by cmakes other VS proj

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

2010-11-03 Thread Tomas Matousek
Files don't need to be encoded in UTF8, you can chose any encoding supported on your system. IronRuby 1.1.1 supports BOMs and also Ruby specific #encoding directives. I would suggest always using UTF8. Personally I consider any non-Unicode based encoding obsolete and frankly don't understand wh

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 Dotan N.
this is not an 'issue' with either editors. it is simply a matter of encoding. As i previously noted, you've created the file in visual studio, which adds: http://en.wikipedia.org/wiki/Byte_order_mark please find the time to read this http://www.joelonsoftware.com/articles/Unicode.html On

Re: [Ironruby-core] Very Very initial CMake support

2010-11-03 Thread Andrius Bentkus
Having multiple building systems is counterproductive, it's hard to maintain all of them. Is cmake using xbuild to buil the dlls or does it all the file linking by itself? On Wed, Nov 3, 2010 at 11:54 AM, Alistair Bush wrote: > I have started playing around with cmake to see whether it could he

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] Very Very initial CMake support

2010-11-03 Thread Alistair Bush
I have started playing around with cmake to see whether it could help out iron* and dlr. I have therefore started implementing CMake makefiles to build the dlr (Runtime) part of ironruby, install those dlls into the gac and generate *.pc files for them. I have tested it on mono-2.8 (requires m