Phlip5
(Phlip)
1
Rubies:
In my folder /ruby/samples/Ruby-1.8.2/sample/webrick I find demo-servlet.rb.
What's the command line to turn it on?
Please don't direct me to the generic documentation!
···
--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
Just a wild guess but how about
ruby demo-servlet.rb
or
./demo-servlet.rb for the unixy kids.
daz
(daz)
3
Phlip wrote:
Rubies:
In my folder /ruby/samples/Ruby-1.8.2/sample/webrick I find demo-servlet.rb.
What's the command line to turn it on?
cd /ruby/samples/Ruby-1.8.2/sample/webrick
ruby httpd.rb
.... mounts 3 servlets - then browse to:
http://localhost:10080/hello
http://localhost:10080/urlencoded
http://localhost:10080/multipart
(Ctrl+Break to exit on Windows)
daz
Phlip5
(Phlip)
4
daz wrote:
cd /ruby/samples/Ruby-1.8.2/sample/webrick
ruby httpd.rb
... mounts 3 servlets - then browse to:
http://localhost:10080/hello
http://localhost:10080/urlencoded
http://localhost:10080/multipart
(Ctrl+Break to exit on Windows)
daz
Yay! Now Google will return a good answer the _next_ time someone discovers
the One Click Installer distro has webrick but no README or help for it!
···
--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!