Re: ruby binary?
Shugo Maeda <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi, At Thu, 26 Feb 2004 09:42:24 -0800, Paul Vudmaska <[email protected]> wrote: > >>A stand alone binary that does not use mod_ruby? Anyone know something > >>of the eruby binary - where i can find more info on it? > >>A host is providing it and i wanted more info. > >> > >> > > > >If you are using Windows, you can get the eruby binary package here. > > > >http://www.dm4lab.to/~usa/ruby/index_en.html > > > >Shugo > > > > > > > That's just it - this host is running linux. They say they do not use > mod_ruby but put a eruby binary in each account in cgi-bin. I can see > the binary. Is this just the way it is and i'm confused? Sorry, I misunderstood. Do you want to know how to use the standalone eruby command? It works as a CGI program. For example, please put the following eRuby file to the server. --- test.cgi --- #!/path/to/eruby <html> <body> <p> <% print "hello world!" %> </p> </body> </html> ---------------- And make it executable. $ chmod +x test.cgi If you access to http://your.host.name/path/to/test.cgi, you can get a HTML processed by eruby. Shugo