
12-20-2006, 12:04 PM
|
|
Senior Member
|
|
Join Date: Aug 2006
Posts: 57
|
|
Wrapping
I'm trying to figure it out. Merb is basically a large HttpHandler for Mongrel and from what I read in the Wiki the only way to run Mongrel is through proxying. For fun I'm going to try to run an skeleton Merb app and try to run:
Code:
while LSAPI.accept != nil
Merb::Server.run
end
Something tells me it's going to break but we'll see. Another approach came from looking at the LSAPI examples. What if I could take the guts of Mongrel for URL parsing and do my own processing ala Merb there. I don't know, seems like a lot of work but we'll see.
Thanks!
AEM
Quote:
Originally Posted by mistwang
I think it is possible, LSAPI is a communication protocol between LSWS and ruby, should be able to run anything on top of that.
The hook between LSAPI and any ruby web application should be very simple, just take a look at our RailsRunner.rb. You can try make a hook to the Merb in pure ruby.
|
|