From: Rob Lucas Date: 2007-11-29T21:01:38+09:00 Subject: Re: Equivalent for unix "read" command in rake tasks? Yes. These are useful ideas. In particular, it looks like Capistrano could be useful here. Thanks again, Rob. Jano Svitok wrote: > On Nov 29, 2007 12:08 PM, Rob Lucas wrote: >> This is an example of the solution I ended up with for asking the user >> For this to work, I needed to specify in the Rake task that "gets" >> Rob. > You may find subversion (instead of zipping the old sources) and > capistrano (for the overall deployment) useful > - see for example > http://topfunky.com/clients/peepcode/free-episodes/peepcode-free-deprec.mov > > Other than that, you can > - store the release name in some file for later use (you wouldn't have > to ask the user, just read from the file) > - provide the name on the command line > rake something LAST_RELEASE=asdfghjkl > > J. -- Posted via http://www.ruby-forum.com/.