On 12/12/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
> Thomas E Enebo wrote:
> > On Dec 12, 2007 4:04 AM, Ola Bini <[EMAIL PROTECTED]> wrote:
> >> Nick Sieger wrote:
> >>>
> >>> What if all 'require "openssl"' did on JRuby was load a ruby file that
> >>> contained a bunch of autoloads for all the constants in openssl? We
> >>> could attempt to fill in as many as possible in the base JRuby
> >>> distribution, and only supply the current error ("please install
> >>> jruby-openssl") for the ones that we need it.
> >>>
> >> No way. Please. It's going to be hell on earth. Or worse. =)
> >
> > It is ugly I know...but please elaborate on the 'hell' part? The 'or
> > worse' part too :)
> >
> > We really want enough created to solve our issues with Rails.
>
> Yes, I think perhaps a more constructive answer is preferred, rather
> than "anything but that!" :) We've solved impossible problems before.

Take a look at 5237. I seem to have accomplished this. It's not the
prettiest thing, but the code's all in Ruby so it's fairly compact.
With this patch:

- Trunk runs Rails 2.0 without the gem installed
- It also passes the test_hmac and test_digest openssl tests
- If the gem is installed it takes precedence over the builtin stuff

Please try trunk with or without the gem on your Rails 2 applications.

/Nick

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to