B
Barrow H Kwan
This is a multipart message in MIME format.
--=_alternative 001F7CBF88256D55_=
Content-Type: text/plain; charset="US-ASCII"
I have tested Ruby ( with rbx rather than rhtml ) with Apache2 without any
luck.
I got the following error in Apache log when I hit
http://<mysite>/test.rbx
[Sun Jun 29 22:28:15 2003] [error] mod_ruby: error in ruby
(eval): uninitialized constant Ruby at Apache (NameError)
from ruby:0:in `value'
and here is my test.rbx
#!/export/opt/ruby/ruby-1.6.8/bin/ruby
print "HTTP/1.0 200 OK\r\n"
print "Content-type: text/html\r\n\r\n"
print "<html><body>Hello World!</body></html>\r\n"
any help will be appreciated!
thanks
Barrow
--=_alternative 001F7CBF88256D55_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">I have tested Ruby ( with rbx rather
than rhtml ) with Apache2 without any luck.</font>
<br>
<br><font size=2 face="sans-serif">I got the following error in Apache
log when I hit http://<mysite>/test.rbx</font>
<br>
<br><font size=2 face="sans-serif">[Sun Jun 29 22:28:15 2003] [error] mod_ruby:
error in ruby</font>
<br><font size=2 face="sans-serif">(eval): uninitialized constant Ruby
at Apache (NameError)</font>
<br><font size=2 face="sans-serif"> from ruby:0:in
`value'</font>
<br>
<br>
<br><font size=2 face="sans-serif">and here is my test.rbx</font>
<br><font size=2 face="sans-serif">#!/export/opt/ruby/ruby-1.6.8/bin/ruby</font>
<br>
<br><font size=2 face="sans-serif">print "HTTP/1.0 200 OK\r\n"</font>
<br><font size=2 face="sans-serif">print "Content-type: text/html\r\n\r\n"</font>
<br><font size=2 face="sans-serif">print "<html><body>Hello
World!</body></html>\r\n"</font>
<br>
<br>
<br><font size=2 face="sans-serif">any help will be appreciated!</font>
<br>
<br><font size=2 face="sans-serif">thanks</font>
<br>
<br><font size=2 face="sans-serif">Barrow</font>
--=_alternative 001F7CBF88256D55_=--
--=_alternative 001F7CBF88256D55_=
Content-Type: text/plain; charset="US-ASCII"
I have tested Ruby ( with rbx rather than rhtml ) with Apache2 without any
luck.
I got the following error in Apache log when I hit
http://<mysite>/test.rbx
[Sun Jun 29 22:28:15 2003] [error] mod_ruby: error in ruby
(eval): uninitialized constant Ruby at Apache (NameError)
from ruby:0:in `value'
and here is my test.rbx
#!/export/opt/ruby/ruby-1.6.8/bin/ruby
print "HTTP/1.0 200 OK\r\n"
print "Content-type: text/html\r\n\r\n"
print "<html><body>Hello World!</body></html>\r\n"
any help will be appreciated!
thanks
Barrow
--=_alternative 001F7CBF88256D55_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">I have tested Ruby ( with rbx rather
than rhtml ) with Apache2 without any luck.</font>
<br>
<br><font size=2 face="sans-serif">I got the following error in Apache
log when I hit http://<mysite>/test.rbx</font>
<br>
<br><font size=2 face="sans-serif">[Sun Jun 29 22:28:15 2003] [error] mod_ruby:
error in ruby</font>
<br><font size=2 face="sans-serif">(eval): uninitialized constant Ruby
at Apache (NameError)</font>
<br><font size=2 face="sans-serif"> from ruby:0:in
`value'</font>
<br>
<br>
<br><font size=2 face="sans-serif">and here is my test.rbx</font>
<br><font size=2 face="sans-serif">#!/export/opt/ruby/ruby-1.6.8/bin/ruby</font>
<br>
<br><font size=2 face="sans-serif">print "HTTP/1.0 200 OK\r\n"</font>
<br><font size=2 face="sans-serif">print "Content-type: text/html\r\n\r\n"</font>
<br><font size=2 face="sans-serif">print "<html><body>Hello
World!</body></html>\r\n"</font>
<br>
<br>
<br><font size=2 face="sans-serif">any help will be appreciated!</font>
<br>
<br><font size=2 face="sans-serif">thanks</font>
<br>
<br><font size=2 face="sans-serif">Barrow</font>
--=_alternative 001F7CBF88256D55_=--