Skip to content

Instantly share code, notes, and snippets.

@tomomura
Created April 1, 2015 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tomomura/01df5ce5a7b5b7eb9edc to your computer and use it in GitHub Desktop.
Save tomomura/01df5ce5a7b5b7eb9edc to your computer and use it in GitHub Desktop.
Rails on IIS Web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="httpplatformhandler" path="*" verb="*"
modules="httpPlatformHandler"
resourceType="Unspecified" requireAccess="Script" />
</handlers>
<httpPlatform stdoutLogEnabled="true"
startupTimeLimit="20"
processPath="C:\Ruby21\bin\ruby.exe"
arguments="C:\inetpub\wwwroot\rails_on_iis\bin\rails server -p %HTTP_PLATFORM_PORT% -b 127.0.0.1 -e production">
</httpPlatform>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment