<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,7 +15,7 @@ namespace :vlad do
   set :thin_log_file,      nil
   set :thin_pid_file,      nil
   set :thin_port,          nil
-  set :thin_socket,        &quot;/tmp/thin.sock&quot;
+  set :thin_socket,        nil
   set :thin_prefix,        nil
   set :thin_servers,       2
   set :thin_user,          nil
@@ -24,10 +24,13 @@ namespace :vlad do
 configuration is set via the thin_* variables.&quot;.cleanup
 
   remote_task :setup_app, :roles =&gt; :app do
+  
+    raise(ArgumentError, &quot;Please provide either thin_socket or thin_port&quot;) if thin_port.nil? &amp;&amp; thin_socket.nil?
+  
     cmd = [
            &quot;#{thin_command} config&quot;,
            &quot;-s #{thin_servers}&quot;,
-           &quot;-S #{thin_socket}&quot;,
+           (&quot;-S #{thin_socket}&quot; if thin_socket),
            &quot;-e #{thin_environment}&quot;,
            &quot;-a #{thin_address}&quot;,
            &quot;-c #{current_path}&quot;,
@@ -58,4 +61,4 @@ configuration is set via the thin_* variables.&quot;.cleanup
   remote_task :stop_app, :roles =&gt; :app do
     run thin(&quot;stop -s #{thin_servers}&quot;)
   end
-end
\ No newline at end of file
+end</diff>
      <filename>example/vlad.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bcc08918e78c95516d3e084ab025ee001a3a560c</id>
    </parent>
  </parents>
  <author>
    <name>Hellekin O. Wolf =8</name>
    <email>hellekin@cepheide.org</email>
  </author>
  <url>http://github.com/macournoyer/thin/commit/56c9b3eb2553ef6f6784768a3265d6562ab87b0f</url>
  <id>56c9b3eb2553ef6f6784768a3265d6562ab87b0f</id>
  <committed-date>2008-09-28T11:41:33-07:00</committed-date>
  <authored-date>2008-09-25T14:42:12-07:00</authored-date>
  <message>Fixed vlad.rake to allow TCP or socket</message>
  <tree>ebe0dd8bbb31f3eb513ba88af4b1107bdd3e5208</tree>
  <committer>
    <name>macournoyer</name>
    <email>macournoyer@gmail.com</email>
  </committer>
</commit>
