mod_ruby alternative?

C

chutsu

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
 
M

Macario Ortega

chutsu said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top