Ruby, fastcgi and lighttpd

hi,

i want to use lighttpd + ruby + fastcgi to build web apps. Not the
entire RoR framework (for the present projects)

I can’t seem to find a procedure to build this, in terms of system
configuration, namely lighttpd’s fastcgi configuration module:
10-fastcgi.conf

thanks in advance,

Check out this project http://ramaze.rubyforge.org/. It doesn’t come
with a
ORM, but you could use ActiveRecord.

You might want to take a look at rails fcgi_handler.rb for some
inspiration.

which works with the following style of configuration inside a host
block:

fastcgi.server = ( “.fcgi” =>
( “localhost” =>
(
“socket” => “path_to_your.socket”,
“bin-path” => “path_to_your/public/dispatch.fcgi”,
“bin-environment” => ( “RAILS_ENV” => “production” ),
“min-procs” => 5,
“max-procs” => 5,
“idle-timeout” => 60
)
)
)

Hope this helps.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs