Hey, all,
I need to use the copy strategy for deployment, but I need to change how we
get the latest copy of the code. I'm trying to
override Capistrano::Deploy::Strategy::Copy.command by putting this in the
deploy.rb file:
module Capistrano
module Deploy
module Strategy
class Copy < Base
private
def command
@command ||= [...]
end
[...]
Clearly, that's not very clever. The error I'm getting is this:
./config/deploy.rb:115:in `load': uninitialized constant
#<Class:0x101757b80>::Capistrano::Deploy::Strategy::Base (NameError)
So, is there some way to override that method? Or, some other way that I
can't see to write my own repository-retrieval, but otherwise keep all the
functionality of the copy strategy?
Thanks,
Aaron
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en