That is the whole deploy. I took the mongrel stuff out, but I still
get the same messages.

matt

On Oct 1, 11:36 am, Jamis Buck <[EMAIL PROTECTED]> wrote:
> Is that the entire deploy.rb? Are you loading anything in it (like
> 'mongrel_cluster')? Note that the mongrel_cluster recipes are only
> compatible with cap1, and not cap2, at this point.
>
> - Jamis
>
> On Oct 1, 2007, at 10:20 AM, mg wrote:
>
>
>
> > I am trying to deploy a new rails project. Following the instructions,
> > I was trying to run cap -T however I get this in my shell:
>
> > [DEPRECATION] Capistrano.configuration is deprecated. Use
> > Capistrano::Configuration.instance instead
> > [DEPRECATION] Capistrano.configuration is deprecated. Use
> > Capistrano::Configuration.instance instead
> > [DEPRECATION] Capistrano.configuration is deprecated. Use
> > Capistrano::Configuration.instance instead
> > [DEPRECATION] Capistrano.configuration is deprecated. Use
> > Capistrano::Configuration.instance instead
> > registering a plugin named `gem' would shadow a method on
> > Capistrano::Configuration with the same name
>
> > The same thing happens when I try cap deploy:setup.
>
> > Here is my deploy.rb
>
> > set :application, "ttm"
> > set :repository,  "private repository"
> > set :deploy_to, "/var/www/apps/#{application}"
>
> > set :user, 'rubyuser'
>
> > # If you aren't deploying to /u/apps/#{application} on the target
> > # servers (which is the default), you can specify the actual location
> > # via the :deploy_to variable:
> > # set :deploy_to, "/var/www/#{application}"
>
> > # If you aren't using Subversion to manage your source code, specify
> > # your SCM below:
> > # set :scm, :subversion
> > set :domain, "208.75.84.204"
> > role :app, domain
> > role :web, domain
> > role :db,  domain, :primary => true
>
> > set :rails_env, "production"
>
> > # MONGREL
> > set :apache_proxy_port, 8010
> > set :apache_proxy_servers, 4
> > set :apache_proxy_address, "127.0.0.1"
> > set :mongrel_servers, apache_proxy_servers
> > set :mongrel_port, apache_proxy_port
> > set :mongrel_address, apache_proxy_address
> > set :mongrel_environment, "production"
> > set :mongrel_config, "/etc/mongrel_cluster/#{application}.conf"
>
> > #SSH options
> > ssh_options[:keys] = %w(/Users/matt/.ssh/id_rsa)
>
> > >
>
>
>  smime.p7s
> 3KDownload


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