I'm trying to find a way to update a ruby script with another one.
I'm especially not good with networking though.

How to check for an update? [OPTIONAL]
I need a piece of code that can check if an update is available
Example code (may not be correct)
go www.example.com
check update
if update = available
download code
else systemisupdtodate
end

Installing the code
#after update downloads
#add codes
#fix bugs

etc.

Thanks.

It's okay if my question does not meet the requirements of this forum.
:)

-- 
Posted via http://www.ruby-forum.com/.