From: "list. rb" Date: 2007-06-28T12:54:47+09:00 Subject: Re: Ajax with Ruby problem ------=_Part_46113_31657073.1183002888834 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Try referencing the full path to the script, i.e xmlHttp.open("GET","/home/auser/scripts/test2.rb",true); On 6/27/07, Gale CC wrote: > > I'm pretty sure the shebang line is correct. I verified by doing "which > ruby" and also ran the file independently from the shell by typing > "./test2.rb" and it works. > > Also the file runs fine when its set as an "action" to a form, but not > in this case when its run from inside a javascript script. Any idea > what's wrong ? > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_46113_31657073.1183002888834--