On Mon, Jun 23, 2008 at 3:55 PM, rachel <[EMAIL PROTECTED]> wrote:
>
> Is there anywhere I can find this info? I found mention of a wiki in
> a message from last year, but it doesn't seem to be available ATM. I
> don't mind reading Ruby code but I don't have much idea where to
> start. Any pointers would be appreciated.
There doesn't seem to be a lot of documentation... You could try the rdoc
(installed with the gem; I can't find it anywhere online). The source is
surprisingly readable, if you need more.
The specific thing I'm trying to do is upload a file. I found put()
> which seems to require a string parameter,
How big is your file? You could always do a hack like:
put File.read('/my/file'), '/some/where'
There's also this blog post, somewhat outdated:
http://devblog.famundo.com/articles/2007/03/10/improving-capistranos-put-command
It looks like there is now an undocumented 'upload' method. That's probably
better, if you can figure out how it works.
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---