lib/iisconfig/application.rb in iisconfig-0.2.1 vs lib/iisconfig/application.rb in iisconfig-0.2.2

- old
+ new

@@ -28,10 +28,10 @@ end def build_commands(site, app_pool) commands = [] - commands << %W{ADD APP /site.name:#{site} /path:#{@path} /physicalPath:"#{@physical_path.gsub(/\//, '\\')}"} + commands << %W{ADD APP /site.name:#{site} /path:#{@path} /physicalPath:#{@physical_path.gsub(/\//, '\\')}} app_pool = @app_pool unless @app_pool.nil? commands << %W{SET SITE /site.name:#{site}/#{@name} /[path='#{@path}'].applicationPool:#{app_pool}} @virtual_directories.each do |s| \ No newline at end of file