Ruby support?

Status
Not open for further replies.

davearonson

Member
Messages
71
Reaction score
0
Points
6
What's the status on Ruby support? I searched and saw some stuff from 2008 and earlier, much of it saying Ruby support would be added, but nothing really conclusive.

One said to check http://$DOMAIN:2082/frontend/x3/mime/mime.html (where $DOMAIN is any of my domains, or presumably the x10 machine I'm on, just to get to the right place in cpanel). That resulted in a brief flash of error message saying something like "This feature is not enabled on your account. You will be redirected to the home page."

I am trying to get, for now, a very simple CGI script running, which just says hello:

#!/usr/bin/ruby

print "Content-type: text/html\n\n";
print "<html><body>Hello, Ruby!</body></html>\n"

I get a "500 Internal Server Error". I've tried without the shebang line. I've tried without /usr in there. I have global read and execute permissions set on the file (on x10, not just locally). It is in cgi-bin. Similar scripts in the same place, in Perl and Python, work fine.

Clues please?

Thanks,
Dave
 
Status
Not open for further replies.
Top