Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > request for README's

Reply
Thread Tools

request for README's

 
 
Phlip
Guest
Posts: n/a
 
      09-09-2005
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!!!


 
Reply With Quote
 
 
 
 
Lyndon Samson
Guest
Posts: n/a
 
      09-09-2005
------=_Part_1353_2438049.1126271944214
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Just a wild guess but how about

ruby demo-servlet.rb

or

/demo-servlet.rb for the unixy kids.

------=_Part_1353_2438049.1126271944214--


 
Reply With Quote
 
 
 
 
daz
Guest
Posts: n/a
 
      09-09-2005

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



 
Reply With Quote
 
Phlip
Guest
Posts: n/a
 
      09-09-2005
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!!!


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Just got two emails: 1. your request for a new Access Code and 2. Request for my MCP ID# What's going on??!! belfast-biker Microsoft Certification 0 01-14-2006 12:49 PM
Re: Accessing Request.InputStream / Request.BinaryRead *as the request is occuring*: How??? Brian Birtle ASP .Net 2 10-16-2003 02:11 PM
best way to get data: request.form, request.params, controlname.value Christian H ASP .Net 1 07-29-2003 05:27 AM
Re: difference bet. request.querystring and Request.Params Daniel Bass ASP .Net 2 07-04-2003 12:12 PM
System.Web.HttpException: Request timed out - [HttpException (0x80004005): Request timed out.] Steve ASP .Net 0 07-01-2003 12:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57