Embedded Ruby
From DesigningPatterns
Installation
-
yum install eruby -
cp /usr/bin/eruby /var/www/cgi-bin/eruby - Edit
/etc/http/httpd.confas follows
#Add the following lines so that embedded ruby files (.rhtml) are recognized AddType application/x-httpd-eruby .rhtml Action application/x-httpd-eruby /cgi-bin/eruby # Edit the DirectoryIndex line to include index.rhtml
Todo
- Install mod_ruby for performance reasons?
