I came across this today. It seemed to be caused when Capistrano
couldn't run svn info on the local machine. Are you sure that is
working?
Of course, I might not be correct, but it is one thing to check.
Cheers, Olly
On 10 Oct 2007, at 20:54, Bolo wrote:
>
> Hello, Hello
>
> I try to deploy my application Rails with Capistrano 2.0.
> For the moment i use a receipe very simple
>
> set :user, "******"
> ######################################################################
> ######################
>
> set :application, "partenaires"
> set :repository, "svn+ssh://#{user}192.168.1.30/var/lib/svn/
> #{application}/"
> set :deploy_to, "/var/www/apps/#{application}"
>
> # 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
>
> role :app, "lamp2"
> role :web, "lamp2"
> role :db, "lamp2", :primary => true
>
> when i deploy my application, i have this error in my terminal
>
> /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/capistrano/
> recipes/deploy/scm/subversion.rb:56:in `query_revision': undefined
> method `[]' for false:FalseClass (NoMethodError)
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/
> capistrano/recipes/deploy/scm/base.rb:35:in `send'
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/
> capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/
> capistrano/recipes/deploy/scm/base.rb:63:in `local'
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/
> capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/
> capistrano/recipes/deploy.rb:37:in `load'
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/
> capistrano/configuration/variables.rb:87:in `call'
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/
> capistrano/configuration/variables.rb:87:in `fetch'
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/
> capistrano/configuration/variables.rb:110:in `protect'
> ... 35 levels...
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/lib/
> capistrano/cli/execute.rb:14:in `execute'
> from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.100/bin/
> cap:4
> from /usr/local/bin/cap:16:in
>
> why :(
>
> thanks for help
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---