Thats seems to have done the trick. Thanks.
No problem. :-) Diggin' Capistrano!
Glenn
On Apr 29, 8:35 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> guh, yeah, that's what I get for not having unit tests for the
> deployment code yet. :( The check method for remote deployments
> (e.g., checkout based) is broken.
>
> If you open capistrano/recipes/deploy/strategy/remote.rb and find the
> "def check!" method, you can replace it with the following:
>
> def check!
> super.check do |d|
> d.remote.command(source.command)
> end
> end
>
> That should work a bit better. Sorry about that.
>
> - Jamis
>
> On Apr 29, 2007, at 9:23 PM, Glenn Rempe wrote:
>
>
>
> > Hi,
>
> > Posting this bug report here as I am not aware of a public server I
> > can use to post bugs to. Sorry if I just missed it.
>
> > I am using capistrano (1.99.0) and getting the following error, which
> > I suspect is a bug, when trying to run cap deploy:check as recommended
> > in the getting started guide on capify.org. I just tested this out in
> > a new empty rails app as well as my own to confirm. I have included
> > my deploy.rb from this app (while cleaning it up to protect the
> > innocent :-)
>
> > I am able to deploy, its just the check that is failing.
>
> > deploy.rb
> > -------------
>
> > set :application, "appname"
> > set :repository, "svn+ssh://svn.VALID REPOS PATH"
>
> > # If you aren't using Subversion to manage your source code, specify
> > # your SCM below:
> > # set :scm, :subversion
> > set :deploy_to, "/tmp/rails/#{application}"
> > role :app, "www.server.com"
> > role :web, "www.server.com"
> > role :db, "www.server.com", :primary => true
>
> > SHELL:~/tmp/captest/config glenn$ cap -q deploy:check
> > /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/capistrano/
> > recipes/deploy/strategy/remote.rb:20:in `test': unknown command ?t
> > (ArgumentError)
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/recipes/deploy/strategy/remote.rb:20:in `check!'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/recipes/deploy.rb:322:in `load'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/configuration/execution.rb:84:in `instance_eval'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/configuration/execution.rb:84:in `execute_task'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/configuration/execution.rb:99:in `find_and_execute_task'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/cli/execute.rb:39:in
> > `execute_requested_actions_without_help'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/cli/execute.rb:39:in `each'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/cli/execute.rb:39:in
> > `execute_requested_actions_without_help'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/cli/help.rb:19:in `execute_requested_actions'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/cli/execute.rb:30:in `execute!'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> > capistrano/cli/execute.rb:14:in `execute'
> > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/bin/
> > cap:4
> > from /usr/local/bin/cap:16:in `load'
> > from /usr/local/bin/cap:16
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---