Skip to content

Instantly share code, notes, and snippets.

@shibayan
Last active December 25, 2015 09:02
Show Gist options
  • Save shibayan/decfb1ed1679c7428c3c to your computer and use it in GitHub Desktop.
Save shibayan/decfb1ed1679c7428c3c to your computer and use it in GitHub Desktop.
JRuby CGI
<?xml version="1.0"?>
<configuration>
<system.webServer>
<handlers>
<add name="RubyCGI"
path="*.rb" verb="*"
modules="CgiModule" scriptProcessor='D:\home\SiteExtensions\jruby\jruby-9.0.4.0\bin\jruby.exe -W0 "%s" %s'
resourceType="Unspecified" />
</handlers>
<cgi createProcessAsUser="false" />
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment