On 02/12/09 14:16, Lee Hambley wrote:
> You're doing it wrong, try this
>
> def generate_config_file
> # implement me in pure, standard ruby!
> file_generated ||= system('script/system')
> end
I don't know ruby all that well, but I suspect that will not re-generate
the file when the deploy runs if it already exists?
Also, that just generates the file - how do I tie that in to
distributing it?
Thanks!
R.
--
* 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