I found out the problem. There was an old copy of the deprec gem
installed on my system that was being loaded via the .caprc file in my
home dir. Once I uninstalled the deprec gem, things seemed to work
fine.
Thanks for you help.
Matt
On Oct 1, 12:33 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> Do you have a file named 'deploy' or 'deploy.rb' in your project's
> root directory? I'm at a loss, here. You might try uninstalling the
> mongrel_cluster recipes or any other third-party cap extensions, to
> make sure they aren't getting loaded somehow.
>
> - Jamis
>
> On Oct 1, 2007, at 11:27 AM, mg wrote:
>
>
>
> > when I run, I am in the root directory of my rails app.
> > - the deploy.rb is in the config dir
> > - Capfile is in the root dir
>
> > Capfile contents:
> > load 'deploy' if respond_to?(:namespace) # cap2 differentiator
> > load 'config/deploy'
>
> > matt
>
> > On Oct 1, 12:17 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> >> On Oct 1, 2007, at 11:02 AM, mg wrote:
>
> >>> That is the whole deploy. I took the mongrel stuff out, but I still
> >>> get the same messages.
>
> >> Well...something, somewhere is trying to load an older extension.
> >> What's in your Capfile? What directory are you in when you do cap -T?
> >> What directory is your deploy.rb in?
>
> >> - Jamis
>
> >>> 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
>
> >> smime.p7s
> >> 3KDownload
>
> > >
>
>
> 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
-~----------~----~----~----~------~----~------~--~---