From: Eleanor McHugh Date: 2009-06-25T18:43:41+09:00 Subject: Re: Execute Ruby script over HTTP protocol as Java Script On 25 Jun 2009, at 05:59, 7stud -- wrote: > Speed Alert wrote: >> Hi Alex, >> >> Thank for your reply. But i am new to Ruby world. I need to start >> from >> the scratch. So, could u please suggest me where to start and how to >> start in this regard. >> >> Regards, >> Karthick >> > > Generally, you can't do what you want. You can download a browser > onto > your computer that is rigged to execute ruby, but a random person that > goes to your website will not be able to execute ruby code in their > browser. That's not strictly speaking true: HotRuby provides a YARV implementation in JavaScript and Red (http://wonderfullyflawed.com/2008/10/13/red-40-a-full-ruby-runtime-in-your-browser/ ) allows you to write your code in Ruby and if I remember rightly then convert it to JavaScript. Ellie Eleanor McHugh Games With Brains http://slides.games-with-brains.net ---- raise ArgumentError unless @reality.responds_to? :reason