From: Justin Collins Date: 2009-06-20T07:01:46+09:00 Subject: Re: Ruby like Php Giuseppe Caruso wrote: > Justin Collins wrote: > >> Giuseppe Caruso wrote: >> >>> I mean, is there a way to use Ruby like I can do on every webhosting >>> service out there? >>> i.e. why I can't just write: >>> >>>

What time is it? it is <%= Time.now %>

>>> >>> like I can do with Php? >>> >>> >> You can do that because they have mod_php set up for you. If your >> hosting service does not have mod_ruby, but you have shell access, you >> may be able to (as I have) set up eruby to be used for .rhtml files >> through your .htaccess file. >> >> -Justin >> > > Justin, thanks. > Can you provide me a link to a tutorial/documentation to install it? > Can I also install Haml? > About halfway down this page should do it: http://www.hiveminds.co.uk/node/3094 Don't know about Haml. You will need to have its libraries installed where eruby can find them, I guess. -Justin