Mod_ruby alternative?

So basically I was wondering what alternative do I have from mod_ruby?

My goal is to embed some simple ruby scripts within the html of the
website. It is not complicated enough to become a ruby web app (where
Ruby on Rails would come in handy). I don’t want to create a rails app
and just dump html files filled with ruby code. Thats a work
around…

Any suggestions?

Thanks
Chris

chutsu wrote:

So basically I was wondering what alternative do I have from mod_ruby?

My goal is to embed some simple ruby scripts within the html of the
website. It is not complicated enough to become a ruby web app (where
Ruby on Rails would come in handy). I don’t want to create a rails app
and just dump html files filled with ruby code. Thats a work
around…

Any suggestions?

Thanks
Chris

I don’t know much about CGI.

A simple Rack (http://rack.rubyforge.org/) app may do. By ruby_mod do
you mean Phusion Passenger?
You can use Passenger to serve any number of Rack apps behind Apache or
Nginx without worring about the number of processes and all the details.
If you don’t need a full blown server you can just use Thin or other
Ruby servers in port 80 if is free and you are just hosting a single app
or any other port.

Cheers.

Macario O. wrote:

chutsu wrote:

So basically I was wondering what alternative do I have from mod_ruby?

My goal is to embed some simple ruby scripts within the html of the
website. It is not complicated enough to become a ruby web app (where
Ruby on Rails would come in handy). I don’t want to create a rails app
and just dump html files filled with ruby code. Thats a work
around…

Any suggestions?

Thanks
Chris

You may allso be interested in Sinatra.

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