Guest User

Untitled

a guest
Jun 20th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <!-- custom configuration section for DLR hosting -->
  5. <section name="microsoft.scripting" type="Microsoft.Scripting.Hosting.Configuration.Section, Microsoft.Scripting" requirePermission="false"/>
  6. </configSections>
  7. <system.webServer>
  8. <handlers>
  9. <!-- clear all other handlers first. Don't do this if you have other handlers you want to run -->
  10. <clear/>
  11. <!-- This hooks up the HttpHandler which will dispatch all requests to Rack -->
  12. <add name="IronRuby" path="*" verb="*" type="IronRuby.Rack.HttpHandlerFactory, IronRuby.Rack" resourceType="Unspecified" requireAccess="Read" preCondition="integratedMode"/>
  13. </handlers>
  14. </system.webServer>
  15. <system.web>
  16. <!-- make this true if you want to debug any of the DLR code, IronRuby.Rack, or your own managed code -->
  17. <compilation debug="true"/>
  18. <!--<httpHandlers>
  19.  
  20. <clear/>
  21.  
  22. <add path="*" verb="*" type="IronRuby.Rack.HttpHandlerFactory, IronRuby.Rack" />
  23. </httpHandlers>-->
  24. </system.web>
  25. <!-- DLR configuration. Set debugMode to "true" if you want to debug your dynamic language code with VS -->
  26. <microsoft.scripting debugMode="false">
  27. <options>
  28. <!-- Library paths: make sure these paths are correct -->
  29. <!--<set option="LibraryPaths" value="..\..\..\Languages\Ruby\libs\;
  30. ..\..\..\..\External.LCA_RESTRICTED\Languages\Ruby\ruby-1.8.6p368\lib\ruby\site_ruby\1.8\;
  31. ..\..\..\..\External.LCA_RESTRICTED\Languages\Ruby\ruby-1.8.6p368\lib\ruby\1.8\"/>-->
  32. <set option="LibraryPaths" value=";C:\ironruby\lib\IronRuby\;C:\ironruby\lib\ruby\site_ruby\1.8\;C:\ironruby\lib\ruby\1.8\"/>
  33. </options>
  34. </microsoft.scripting>
  35. <appSettings>
  36. <add key="AppRoot" value="..\."/>
  37. <add key="Log" value="ironrack.log"/>
  38. <!-- <add key="GemPath" value="..\..\..\..\External.LCA_RESTRICTED\Languages\Ruby\ruby-1.8.6p368\lib\ruby\gems\1.8"/> -->
  39. <add key="GemPath" value="C:\IronRuby\Lib\ironruby\gems\1.8"/>
  40. <add key="RackEnv" value="development"/>
  41. </appSettings>
  42. </configuration>
Add Comment
Please, Sign In to add comment