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
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
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
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()
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
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
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.
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
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