Well I finnally bit the bullet and upgrade to capistrano and have run into several issues that I can''t seem to find a fix for. Switchtower worked perfectly but I can not get cap to work especially with the change to the command to run a deploy. The following code worked fine in switchtower to deploy: switchtower -vvvv -S stage=stage -r config/deploy -a deploy The stage variable could either be stage, test, production and depending on what stage was passed would connect to the correct environment and upload. Now though everything tries to hit my production environment. Do I need to make some changes here? Lastly we are putting in a new production server, and no matter what I do i get the following error code: [out :: server] bash: line 2: svn: command not found And all the searches on google and on this list turn up very little about how to trouble shoot this. Again before the cap upgrade everything was just fine. Any suggestions? Thanks Andrew
Andrew Filipowski wrote:> Lastly we are putting in a new production server, and no matter what I > do i get the following error code: > > [out :: server] bash: line 2: svn: command not foundEither svn is not installed on the new server, or svn is not in the path of the remote user. -- Ray
Yeah found that one out, was not in the path which was all my bad. How about my first question? anyone have any thoughts? Andrew On Apr 12, 2006, at 12:12 PM, Ray Baxter wrote:> Andrew Filipowski wrote: > >> Lastly we are putting in a new production server, and no matter >> what I do i get the following error code: >> [out :: server] bash: line 2: svn: command not found > > Either svn is not installed on the new server, or svn is not in the > path of the remote user. > > -- > > Ray > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Andrew, Can you send me your deploy.rb? I''m curious why you''re seeing that behavior with the -S switch... - Jamis On Apr 12, 2006, at 7:50 AM, Andrew Filipowski wrote:> Well I finnally bit the bullet and upgrade to capistrano and have > run into several issues that I can''t seem to find a fix for. > Switchtower worked perfectly but I can not get cap to work > especially with the change to the command to run a deploy. > > The following code worked fine in switchtower to deploy: > > switchtower -vvvv -S stage=stage -r config/deploy -a deploy > > The stage variable could either be stage, test, production and > depending on what stage was passed would connect to the correct > environment and upload. Now though everything tries to hit my > production environment. Do I need to make some changes here? > > Lastly we are putting in a new production server, and no matter > what I do i get the following error code: > > [out :: server] bash: line 2: svn: command not found > > And all the searches on google and on this list turn up very little > about how to trouble shoot this. Again before the cap upgrade > everything was just fine. Any suggestions? > > Thanks > > Andrew > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails