Hi I have the same question. put is not to upload a file but to write into a file. I first prompt the user to enter data, build a string from the data and "put" the string to a new file.
On Monday, December 9, 2013 6:17:44 PM UTC+9, Lee Hambley wrote: > > You mean upload a file? Its the "upload!()" method from out underling > driver SSHKit > > Sent from my Nexus 4. > On 9 Dec 2013 09:56, "Raison D'souza" <[email protected] <javascript:>> > wrote: > >> While setting up a server for deployment, I have a task which asks the >> user for database configs, and then I set it in the shared path. >> >> What would the corresponding command be in Capistrano 3 ? >> #Capistrano 2 >> put db_config, "#{shared_path}/config/database.yml" >> >> Thanks >> Raison D'souza >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Capistrano" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web, visit >> https://groups.google.com/d/msgid/capistrano/4ec48ebc-d7b4-4d4c-956c-f80948ed71ec%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/46dbbb5f-1bb4-4241-8b54-d1f1f8f66883%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
