From: Benjamin Schroeder Date: 2003-09-15T07:01:35+09:00 Subject: Re: problem with RubyDotNet r3 evaluator .rbw On Sunday, September 14, 2003, at 02:44 PM, gabriele renzi wrote: >> That seems to work for >> me. (A script file should work as well.) I'd be interested to hear >> whether it works in that context. > > running from a file with ruby filename.rb fail with the same error. > It works like a charm with Form.new.show > Anyway, I didn't run this script in the evaluator, cause the evaluator > won't start at all :) I'm glad to hear that Form.new.show works for you - it's almost as if your machine always has an event loop running. Seems strange ... I'm not sure how much experience you have with .NET, but if you have a chance and want to try it, one idea would be to see what the corresponding C# program (to start a form) would do. Please contact me via private mail if you try it, as I'd be interested to know the results. > (example ideas) > I think these are the stuff you're using ATM, possibly because many > other .net packages are lready available in ruby, and some are , > maybe, not easily integrated with ruby (I suppos, for example, the web > stuff.) > > thanks for the quick answer, sorry if my posts come on the list latre, > I think my provider is having some prob with the newserver Thanks for the ideas of samples to include. We'll work out a few of these for the next release. You're correct to say that those are the kinds of things that we're using - much of what .NET provides is also provided for Ruby in Ruby packages. As far as web stuff - you might be interested to see John's WebEvaluator sample. It's at http://www.saltypickle.com/Home/WebEvaluator It's an ASP.NET application that lets you try out code using the Ruby/.NET bridge, including ASP.NET code. By the way, if you happen to write any interesting samples yourself, I'd encourage you to feel free to post them on the RubyDotNet web site - it's a wiki site, so anybody can edit it. Thanks, Ben Schroeder