From: Ben Lovell Date: 2009-07-09T07:02:55+09:00 Subject: Re: i cant start webrick --001636c5b3ff87f7ee046e38e6d9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jul 8, 2009 at 9:58 PM, Ben Lovell wrote: > On Wed, Jul 8, 2009 at 9:41 PM, Alex Gore wrote: > >> when i try to start webrick i get this message >> >> ./easyhtmlserver:12: syntax error, unexpected tASSOC, expecting kEND >> :Port => 80 >> ^ >> ./easyhtmlserver:14: syntax error, unexpected tASSOC, expecting kEND >> :Port => 801 >> ^ >> ./easyhtmlserver:11: warning: found = in conditional, should be == >> ./easyhtmlserver:16: syntax error, unexpected tSYMBEG, expecting ')' >> :DocumentRoot => "/home/" + $home + "/easyhtml/" + $pro >> ^ >> ./easyhtmlserver:17: syntax error, unexpected ')', expecting kEND >> ./easyhtmlserver:28: syntax error, unexpected $end, expecting kEND > > > This should work: > Sorry, ignore me. I just re-read the post and noticed the problems with with hash arguments too. Not sure how you solve this. --001636c5b3ff87f7ee046e38e6d9--