Peter Marks wrote:
> 7stud -- wrote:
>> 7stud -- wrote:
>>>> There's another way, but I don't remember what it is.
>>> 
>>> 
>>> Try this:
>>> 
>>> Dir.chdir("/Users/petermarks/Desktop/orbus/public/1/daily")
>>> system("zip -r zipped_rails_app ./2007-10-29")
>> 
>> Whoops.  Too late.
> 
> You were by no means too late. I was unaware that there was a ruby 
> command to change the directory like that. Exactly what I needed. Thank 
> you both :)

You could have always used system() again:

system("cd /Users/petermarks/Desktop/orbus/public/1/daily")
-- 
Posted via http://www.ruby-forum.com/.