Where is deploy.rb located? What directory are you in when you run  
"cap setup"?

- Jamis

On Jun 13, 2007, at 12:07 PM, charlie caroff wrote:

>
> Hi,
>
> I am struggling with understanding how deploy.rb works.  I'm using svn
> +ssh.  I'm running capistrano 1.4.1 for FreeBSD ports.  I'm not using
> a web server.
>
> I get this error when I try to run cap setup:
>
> /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/
> actor.rb:545:in `execute_on_servers': The setup task is only run for
> servers matching {:desc=>"Set up the expected application directory
> structure on all boxes", :except=>{:no_release=>true}}, but no servers
> matched (RuntimeError)
>
> My repository is on my local machine, at /home/svn/repository
>
> My project is called "project", and is at /home/charlie/project/trunk
>
> My remote server is at www.project.com, and on that machine, is stored
> at /home/charlie/project
>
> Here are my lines from deploy.rb:
>
> set :application, "project"
> set :repository, "svn+ssh//192.168.1.151/home/svn/repository/project/"
>
> role :web, "www.project.com"
> role :app, "www.project.com"
> role :db,  "www.project.com", :primary => true
>
> I'd really appreciate a point in the right direction.
>
> Charlie
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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