Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Ivan Porto Carrero
I've updated the ironruby libraries to what's in github currently. I pulled in your changes Immo but when i compiled the app I couldn't serve any pages up it complained about not being able to find the correct IronRuby yada yada. Anyway the fix I had in mind was removing 1 line of code and reload

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Tomas Matousek
“The extension method RequireFile for ruby does that respect when I would redefine the require statement to keep track of classes contained in a file and reload them on each request when compiled in debug mode?” No, there is no dynamic invocation of “require” method going on. If you need to cal

Re: [Ironruby-core] Native Extensions

2009-10-13 Thread Nathan Stults
I have uploaded the first draft of my work here: http://github.com/PlasticLizard/Bracket if anyone is interested. I generalized the Rack hosting code from the IronRuby.Rack solution to be easily adaptable to other web servers. Included in this first iteration are hosts for HttpListener, C# Web Serv

Re: [Ironruby-core] Native Extensions

2009-10-13 Thread Nathan Stults
Maybe Microsoft could host the IronRuby standard library on its new CDN (http://weblogs.asp.net/scottgu/archive/2009/09/15/announcing-the-micros oft-ajax-cdn.aspx) for all to enjoy :) Most of the individual library files seem small enough, and if it works for .JS files, it should work for Ruby, no?

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Immo Wache
Hi Ivan, many thanks again to care about this problem. Ivan Porto carrero wrote: > I pulled in your changes Immo but ... complained about not being able > to find the correct IronRuby yada yada. Oh, my fault, sorry. I merged my local copy to my (first!) github fork (the one from you) slightly t

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Immo Wache
Hi Tomas, thanks alot for joining the discussion. Your idea sounds interesting. I'll try it out now. Immo Tomas Matousek wrote: > “The extension method RequireFile for ruby does that respect when I > would redefine the require statement to keep track of classes contained > in a file and reloa

[Ironruby-core] Nerd Dinner tonight in Redmond

2009-10-13 Thread Jimmy Schementi
Please ignore if it's unfeasible for you to come to the Redmond campus tonight =P --- Anyone want to the nerd dinner tonight? It's open to anyone who wants to go. But you must register at this link: http://www.nerddinner.com/1142 When: Oct 13, 2009 @

Re: [Ironruby-core] Nerd Dinner tonight in Redmond

2009-10-13 Thread Nathan Stults
I thought "pop" was a Midwestern concept. You guys don't really drink "pop" that far west do you? From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jimmy Schementi Sent: Tuesday, October 13, 2009 3:43 PM To: ironruby-core@rubyforge.org; Discussi

Re: [Ironruby-core] Nerd Dinner tonight in Redmond

2009-10-13 Thread Jimmy Schementi
I'm originally from NY, so hell no, it's soda to me. But yeah, they say pop out here ... it's really just a NE/SW thing: http://popvssoda.com:2998/ From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Nathan Stults Sent: Tuesday, October 13, 2009 3:

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Immo Wache
Hi Tomas, No success so far, all variants produce the same exception: "InvalidOperationException: Empty scope has no global scope." ??? I tried following variants: Engine.Operations.InvokeMember(null, "require", PathProvider.MapPath(path)); Engine.Operations.InvokeMember(Context, "require",

[Ironruby-core] PlatformAdaptationLayer - scope

2009-10-13 Thread Nathan Stults
What is the correct way to view the PlatformAdaptationLayer? My initial assumption was that it was IronRuby's abstraction of the file system (and environment variables), but in digging deeper I see that the Dir builtin is calling into the file system in many places using the System.IO classes direc

Re: [Ironruby-core] PlatformAdaptationLayer - scope

2009-10-13 Thread Tomas Matousek
Your initial intuition is right. The intention is to provide some abstraction of the file system/OS. The goal is not to provide a complete abstraction but one that is complete enough to support common operations. If the abstraction is leaking somewhere it's either a bug or there is a good reason