In my staging.rb/production.rb files, I have:
set :server_address, "xxx.xxx.xxx.xxx"
and a little below that I then have...
server "#{server_address}", :web, :app, :db, :primary => :true
I've just changed this back to the following in the last minute, but receive
the same error:
role :app, "#{server_address}", :primary => true
role :web, "#{server_address}", :primary => true
role :db, "#{server_address}", :primary => true
Am I putting something in the wrong place?
Joe
On Wed, Sep 22, 2010 at 3:10 PM, Lee Hambley <[email protected]> wrote:
> Joe, you simply haven't specified any servers?
>
> You need at lest one instance of something like:
>
> role(:web, 'xxx.xxx.xxx.xxx')
>
> or
>
> server('xxx.xxx.xxx.xxx', :web)
>
> - Lee
>
> --
> * 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