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

2010-11-02 Thread Dotan N.
before i think about it too much, it seems you have some unicodish chars in the file? On Tue, Nov 2, 2010 at 8:07 PM, Timothy Barnes wrote: > 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

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

2010-11-02 Thread Dotan N.
confirmed. you probably created the file inside VS, or other UTF happy editor. if you insist you might want to try the encoding pragma, but i'm not sure of its support # coding: utf-8 puts 'hello' On Tue, Nov 2, 2010 at 9:41 PM, Dotan N. wrote: > before i think about it too much, it seems you

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

2010-11-02 Thread Tomas Matousek
What version of IronRuby do you use? The file has UTF8 BOM at the beginning and IronRuby 1.0 doesn't support that (MRI 1.8.6 doesn't either). IronRuby 1.1.1 should work fine. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org]

[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

Re: [Ironruby-core] Gestalt and IronRuby in the browser

2010-11-02 Thread Roger Pack
gestalt is an unrelated project to the "mainline" ironruby, but definitely cool :) -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

[Ironruby-core] ironruby-rack gem

2010-11-02 Thread Eduardo Blumenfeld
Hi all, First, thank you for all the effort put in this project. Is there any news on this particular project (ironruby-rack gem), going forward with the release 1.1.1? Eduardo -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list