From: Logan Capaldo Date: 2006-09-12T21:18:38+09:00 Subject: Re: Browser applications (applets, flash...) with Ruby? On Tue, Sep 12, 2006 at 09:00:41PM +0900, francis.rammeloo@gmail.com wrote: > Howdy, > > Is it possible to write applications in Ruby and let them run in an > internet browser, just like you could with applets or flash? Preferably > without the user having to install a special plug-in... > You would definitely need a special plugin, to directly run ruby on the browser. > Has it been done? Would this be possible with JRuby? > I'd appreciate your insights a lot, please share them. > It might be possible with JRuby, if the browser has a JVM plugin and you could send a verison of the JRuby interpreter down the pipe that would be happy with the security restrictions on applets. Another option is to try rb2js [1], which translates ruby into Javascript, which can then of course be run in the browser. [1] http://rb2js.rubyforge.org/