From: Justin Collins Date: 2009-06-20T05:59:45+09:00 Subject: Re: Ruby like Php Giuseppe Caruso wrote: > Tony Arcieri wrote: > >> Phusion Passenger works much like PHP in that you can just point Apache >> at >> any Rack-based application and Passenger will automagically make it work >> just like PHP. >> > > Tony, please, edit the post to delete my email address… :P > > 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