James Gray
7/18/2006 3:48:00 PM
On Jul 18, 2006, at 9:57 AM, Dave Rose wrote:
> James Gray wrote:
>> On Jul 18, 2006, at 9:01 AM, Dave Rose wrote:
>>
>>> ...i have 1.8.2...and i want to do a http hello world program in
>>> a web
>>> browser
>>> entirely self-contained within one computer using 1.8.2 ruby .....
>>> and a
>>> (maybe the in the same ruby program)
>>> hello world using GUI windows within the same computer for a demo
>>> 2 my
>>> company's
>>> sceptics....this computer is win2000 ....
>>
>> Your message doesn't contain a question. ;)
>>
>> We wish you the best of luck with your demo!
>>
>> James Edward Gray II
Oh good, questions... ;)
> oka...how does one do the above two hello world in ruby...
There are many, many ways. For the first one, you will need to
decide on some way to display a web page. CGI, WEBrick, Rails, and a
lot more are all possible choices. When you find one you want to
work with, let the basics of working with that library or framework
and I'm sure you will run into a "Hello World" example along the way...
Rinse and repeat for a GUI framework.
I would probably choose WEBrick and Qt, but there are many other good
choices.
> and does 1.8.2
> windoze one-click installer (v1.8.2.1) also install enough of webbrick
> to do this?
Yes. WEBrick is a standard library and thus included with all Ruby
installs.
> what is 'required'....
require "webrick" # Is this what you meant?
James Edward Gray II