Well, there are a couple of ways to do that depending on what you're
planning on doing with the file.  Can you give some of the code you're
trying?  Or errors?

Jonathan Denni wrote:
> I'm getting quite lost and discouraged trying to learn Ruby. [I have no
> programming experiance, just html and css]
>
> for something to start with, I would like to use ruby to create a file
> in directory G:\Ruby named "myFile.html"
>
> that seems simple enough, but I can't figure out how to do it [and
> http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_io.html isn't
> helping]
> 
> thanks :)
> 
> -- 
> Posted via http://www.ruby-forum.com/.