Re: [Ironruby-core] Code Review: RubyLibsAndYaml

2008-05-18 Thread Wayne Kelly
From: Tomas Matousek [EMAIL PROTECTED] Sent: Sunday, 18 May 2008 2:47 PM To: IronRuby External Code Reviewers Subject: [Ironruby-core] Code Review: RubyLibsAndYaml The mapping from Ruby library name to the assembly and namespace is established via .rb files: thread.rb: load_assembly

[Ironruby-core] Signal.trap

2008-05-18 Thread Wayne Kelly
After various workarounds, I can now run the rails app to the point that it gets through all of the gems infrastructure and starts running actual rails specific code. Unfortunately the first thing that it calls is Signal.trap which is currently unimplemented. I have an implementation of

Re: [Ironruby-core] Signal.trap

2008-05-18 Thread Michael Letterle
PInvokes would, of course, make it non-portable to mono...or silverlight for that matter. So no, I don't think it's a good idea :) On Sun, May 18, 2008 at 8:23 AM, Wayne Kelly [EMAIL PROTECTED] wrote: After various workarounds, I can now run the rails app to the point that it gets through all

Re: [Ironruby-core] Signal.trap

2008-05-18 Thread Sanghyeon Seo
2008/5/18 Michael Letterle [EMAIL PROTECTED]: PInvokes would, of course, make it non-portable to mono...or silverlight for that matter. So no, I don't think it's a good idea :) Well, Mono supports P/Invoke, and Ruby.NET's Signal code actually worked fine on Mono. (In this case, signal()

Re: [Ironruby-core] Signal.trap

2008-05-18 Thread Tomas Matousek
What signals are used in Rails and what for? Tomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Sunday, May 18, 2008 9:32 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Signal.trap 2008/5/18 Michael Letterle

Re: [Ironruby-core] Signal.trap

2008-05-18 Thread Wayne Kelly
I'm not sure I can answer that question in it's totality as I'm not familiar with much of the Rails framework. But the examples that I've seen so far have been trapping the SIGINT and/or TERM signals in order to perform a graceful controlled shutdown. Cheers, Wayne. -Original

Re: [Ironruby-core] Signal.trap

2008-05-18 Thread Ivan Porto Carrero
AFAICT they use INT, TERM, HUP, USR1, USR2 (most of them in the fastcgi handler, but mongrel and thin use them as well) thin also uses QUIT That's what i got from quickly running grep over my rails gems I've asked koz if I left some out and if I did I'll let you know which ones are missing.

Re: [Ironruby-core] Playing around with www.ironruby.net

2008-05-18 Thread C.J. Adams-Collier
Heh, you'll need some help from the web server, not just the DNS registrar. This is how I once told Apache to redirect all HTTP URIs to HTTPS: RedirectMatch permanent (.*) https://mail.colliertech.org$1 So you may want to do something like this: RedirectMatch permanent

[Ironruby-core] More on running activerecord

2008-05-18 Thread Brian Blackwell
I can also report that after applying patches and other workarounds, I have been able to get require 'active_record' to work, and that I have started playing with a simple activerecord use case. Here are some issues that I have encountered so far: (1) Bug #20222: super call in initialize method