Here is mine which I couldn't get working...
#!/usr/bin/ruby # vlexo.rb puts "Content-Type: text/html" puts puts "<html>" puts "<body>" puts "<h1>Hello Ruby!</h1>" puts "</body>" puts "</html>"I had also added .rb to the AddHandler in .htaccess and set my file's chmod permissions to 755.
Result: I just get a pop-up prompting me to download my script.
So have i made a mistake somewhere, or is ROR support not the same as calling ruby?
Thanks.
Edited by leke, 11 November 2010 - 11:22 PM.












