First-time deployment is always a bear, but it _is_ possible to  
deploy from Windows to Linux.

Step one is to do it all manually. SSH into your linux machine, set  
up the directories just as Capistrano would, check out your project  
into a directory there, and get it running. Once it is all working,  
and you've got everything installed and configured as necessary, you  
can then start using Capistrano.

Once you've got a few "first deploys" under your belt, it gets much  
easier, and deploying with Capistrano from the get-go is less  
painful. But yeah, that first deployment can be a real bear. :(

- Jamis

On Jun 4, 2007, at 8:37 PM, Serengeti wrote:

>
> Thanks for the tip.  I am running InstantRails and for some reason it
> did not find svn even though it is in the system-wide path.
>
> Now I need to figure out where to go from here.
>
> My app that ran just fine in InstantRails on Windows does not run at
> all (Rails won't even load) on the Linux server I am using for
> deployment.
>
> How do people go about deploying in situations like this?
>
> Is it not possible to deploy an app this way?
>
> On Jun 3, 5:56 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
>> Looks like you need to install a command-line subversion client. If
>> you open a DOS terminal and type 'svn', does anything happen, or do
>> you get the "bad command or filename" message? If the latter, you'll
>> need to go find a command-line svn client for windows, and make sure
>> it is in your PATH.
>>
>> - Jamis
>>
>> On Jun 3, 2007, at 3:02 PM, Serengeti wrote:
>>
>>
>>
>>
>>
>>> c:\InstantRails\rails_apps\kb>rake deploy
>>> (in c:/InstantRails/rails_apps/kb)
>>> Capistrano/Rake integration is deprecated.
>>> Please invoke the 'cap' command directly: `cap deploy'
>>>   * executing task deploy
>>>   * executing task update
>>>  ** transaction: start
>>>   * executing task update_code
>>>   * querying latest revision...
>>> *** [update_code] transaction: rollback
>>>   * [update_code] rolling back
>>>   * executing "rm -rf /rails_apps/kb/releases/2007060320595
>>> 8"
>>>     servers: ["lion.serengeti.com"]
>>> Password: ******
>>
>>>     [lion.serengeti.com] executing command
>>>     command finished
>>> rake aborted!
>>> No such file or directory - svn log --no-auth-cache   -q --limit  
>>> 1 svn
>>> +ssh://lio
>>> n.serengeti.com/var/lib/svn/kb
>>
>>> (See full trace by running task with --trace)
>>
>>> Does anybody know what this error message means (or how to trouble-
>>> shoot)?
>>
>>> Thanks!
>>> Errol- Hide quoted text -
>>
>> - Show quoted text -
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to