[Ironruby-core] Running IronRuby script from C#
lists at ruby-forum.com
Wed Nov 3 09:19:03 EDT 2010
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 126.96.36.199 but had just downloaded IronRuby
1.1.1. However, I originally created the file in SharpDevelop and have
been creating IronRuby programs in SharpDevelop with no issue (running
in SD Debug), until I tried to call this ruby file from C#. So I still
don't quite understand why ruby works one way and not the other, but
that seems to be a SharpDevelop issue/setting. I am pretty sure
SharpDevelop is running IronRuby 188.8.131.52. After I couldn't get it to
work I tried it again in Visual Studio which I
assume also called IronRuby 184.108.40.206. since I still had that version
installed and my files associated with that version.
Last, Now that IronRuby supports the UTF8 encoding, should my files be
encoded that way? Or now does it just not matter which encoding I use?
and does C# have to be encoded UTF8?
Posted via http://www.ruby-forum.com/.
More information about the Ironruby-core