Bradley, thanks for the example. A new day and a new look at my code relvealed that I was using deploy_to before setting it...<br><br>works like a charm now ..<br><br><br><div><span class="gmail_quote">On 5/5/06, <b class="gmail_sendername">
bradley taylor</b> &lt;<a href="mailto:bradley@railsmachine.com">bradley@railsmachine.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Roberto:<br><br>&gt;<br>&gt; Bradley, can you show a simple, but working example of what needs<br>&gt; to be configured at the develpment machine and what needs to be<br>&gt; done at the production machine (if anything at all)&nbsp;&nbsp;? Then I
<br>&gt; hopefullyI&nbsp;&nbsp;can figure out what I am doing wrong.<br><br>***deploy.rb***<br><br>require 'mongrel_cluster/recipes'<br><br>role :web, &quot;<a href="http://10.0.1.5">10.0.1.5</a>&quot;<br>role :app, &quot;<a href="http://10.0.1.5">
10.0.1.5</a>&quot;<br>role :db,&nbsp;&nbsp;&quot;<a href="http://10.0.1.5">10.0.1.5</a>&quot;, :primary =&gt; true<br><br>set :application, &quot;animal_shelter&quot;<br><br>set :deploy_to, &quot;/var/apps/#{application}&quot; # /var/apps/ is owned by
<br>deploy<br>set :user, &quot;deploy&quot;<br>set :repository, &quot;your_repository_here&quot;<br>set :use_sudo, false<br><br>*** server ***<br>No configuration needed.<br><br>*** dev machine ***<br>First deployment:<br>
cap -a setup<br>cap -a configure_mongrel_cluster<br>cap -a cold_deploy<br><br>Subsequent deployments:<br>svn commit -m &quot;more software&quot;<br>cap -a deploy<br><br><br>&gt; ok, I uninstalled 0.1 to make absolutely sure that 
0.1.1 is running<br>&gt; and did all configuration steps again and now it even got worse:<br>&gt; after deploying the &quot;current&quot; symlink points to a nonexistent<br>&gt; &quot;config&quot;.<br>&gt;<br><br>By default the config file is written to deploy_to/config. It looks
<br>like your deploy_to variable contains &quot;current&quot;&nbsp;&nbsp;as<br>configure_mongrel_cluster writes to deploy_to/config/<br>mongrel_cluster.yml. deploy_to should be the root directory of your<br>deployment.<br><br>Feel free to send me a censored version of your 
deploy.rb and I'll<br>talk a look for anything unusual.<br><br>Thanks,<br>Bradley<br><br>------<br>Rails Machine<br>Simplified Ruby on Rails application deployment<br><a href="http://railsmachine.com">http://railsmachine.com
</a><br><br><br><br><br>_______________________________________________<br>Mongrel-users mailing list<br><a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/mongrel-users">
http://rubyforge.org/mailman/listinfo/mongrel-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Roberto Saccon