Skip to content

Instantly share code, notes, and snippets.

@atiw003
Forked from BanzaiMan/irb-applet5.html
Created November 24, 2010 07:01
Show Gist options
  • Save atiw003/713244 to your computer and use it in GitHub Desktop.
Save atiw003/713244 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>JRuby IRB</title>
<meta charset="utf-8">
<style type="text/css">
.code {font-family: "Courier New", Courier, mono;}
</style>
</head>
<body>
<h1>JRuby IRB</h1>
<p>To use the IRB applet, you need <span class="code">jruby-complete.jar</span> (built from source with <span class="code">ant jar-complete</span> or downloaded from jruby.org separately, e.g. <a href="http://jruby.org.s3.amazonaws.com/downloads/1.5.5/jruby-complete-1.5.5.jar">1.5.5 Complete.jar</a>) in <span class="code">../lib</span>.
</p>
<object type="application/x-java-applet" id="JRuby-IRB" width="700" height="500">
<param name="code" value="org.jruby.JRubyApplet.class" />
<param name="codebase" value="../lib/" />
<param name="archive" value="jruby-complete.jar" />
<param name="jruby.banner" value="Welcome to JRuby on the Web!" />
<param name="jruby.console" value="true" />
<param name="jruby.objectspace" value="true" />
<param name="jruby.eval" value="ARGV[0..-1] = %w(-f) ; require 'irb' ; require 'irb/completion' ; Thread.new { IRB.start }" />
Failed to load the IRB applet.
</object>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment