FileUtils is part of the standard library, no need to install gems. Just
require "fileutils" and use it.


On Wed, Nov 13, 2013 at 4:53 PM, Graeme Halls <lists / ruby-forum.com> wrote:

> I am trying to build a script that deletes all folders within a specific
> folder, and the only tool Ive found (by googling) is FileUtils.
>
> I use Windows, and am trying to build this Ruby script to run on Windows
> only.
>
> When I try and install FileUtils, it errors and says it needs RMagick,
> which when I try and install that, I get an error saying it needs
> ImageMagick, which when I try and install that, says it doesn't exist
> and to use mini_magick (which I have). All the posts on the internet say
> to install various things, but all still error saying it needs something
> else.
>
> Is there:
> A) Another way to remove all folders within a given directory
> (regardless if they are empty or not, or
> B) Another way to install the gems required.
>
> I did a gem update, and its updated a few gems (but it couldn't update
> to the latest version of mini_magick as there is a character issue when
> installing.
>
> HELP!!!!
>
> --
> Posted via http://www.ruby-forum.com/.
>



-- 
Michael Fellinger