The "undefined method `[]'" error might be caused by the svn utility not existing in your path on the localhost. (It needs to be a command- line version of Subversion.)

As for the "not a valid URL" error, I'm not sure what's up there. What subversion client do you have installed?

- Jamis

On Oct 15, 2007, at 5:57 PM, RobTalbot wrote:


I'm trying a first rails deployment from Windows to linux and have got
stuck on these errors:

First Error -
svn:\\192.168.1.101\SVN\trunk:  (Not a valid URL)

But in deploy.rb I've used forward slashes

Then-
c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/capistrano/ recipes/
deploy/scm/subversion.rb:56:in `query_revision': undefined method `[]'
for false:FalseClass (NoMethodError)
        from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/
capistrano/recipes/deploy/scm/base.rb:35:in `send'
...(lots more)

Deploy.rb is as follows-

set :application, "depot"
set :repository,  "svn://192.168.1.101/SVN/trunk"

# 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/deploy/#{application}"

# If you aren't using Subversion to manage your source code, specify
# your SCM below:
role :app, "192.168.1.106"
role :web, "192.168.1.106"
role :db,  "192.168.1.106", :primary => true

The subversion repository is on the windows box, and I can check out
from it on the linux box


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to