Re: Trying to delete file using FileUtils not working

Corey Murphy
Thu, 31 Jul 2008 16:07:59 -0000

Nevermind.  Figured it out.  Need to take a different approach.  Ended
up doing the following for anyone else who wants to know.

Dir.chdir("dir_menu")
FileUtils.rm Dir.glob("*.{htmt,jst}")

--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---