set :scm, :none

^ Something it stopping the rsync command finding any of your code -
deploying without source control is a really bad idea.

- lee

On 18 September 2010 18:58, Adam PAPAI <[email protected]> wrote:

> I've got a strange issue.
>
> My deploy.rb is shown below:
>
> set :application, "serice"
> set :domain, "mytld"
> set :user, "myusername"
> set :port, 22
> set :repository, "/usr/home/#{user}/#{application}"
> set :scm, :none
> set :runner, user
> set :use_sudo, false
> set :deploy_via, :copy
> set :deploy_to, "/usr/local/www/#{user}/#{application}"
> set :group_writable, false
> role :app, domain
> role :web, domain
> role :db, domain, :primary => true
>
> cap deploy:check it says:
>
> You appear to have all necessary dependencies installed
>
> But with the command cap deploy, everything seems to be okay, but my
> "source" is not deployed. Almost everything is missing, but the link
> current is set up correctly, the releases/<timestamp> directory
> exists, the basic directories exist as well (public, log, tmp) but
> everything else is missing.
>
> I checked the temporary created /tmp/<timestamp>.tar.gz and it
> contains ALL of my code. It seems after the gunzip && tar xvf && rm
> <timestamp>.tar my source code disappears from the extracted stuff..
>
> What am I doing wrong?
>
> --
> * You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected]<capistrano%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/capistrano?hl=en

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to