OOps!!

Here is the code I'm trying to run:
#!/usr/bin/ruby -w
require "cgi"
cgi = CGI.new("html3")
cgi.out{
        cgi.html{
                cgi.head{"\n" + cgi.title{"This is a Test"} } +
                cgi.body{"\n" +
                        cgi.form{"\n" +
                                cgi.hr +
                                cgi.h1{"A Form: "} + "\n" +
                                cgi.textarea("get_text") + "\n" +
                                cgi.br +
                                cgi.submit
                        }
                }
        }
}

I get an error from this.

Thanks.
SA