Rake is a tool that is intended to work primarily with files, and it actually has the best instruments to do this. In this chapter, we will see what Rake provides us with so we can work with files. We will look at utilities in order to work with them and at the end of the chapter, you will see how this information can be applied in practice.
In this chapter, we will discuss the following topics:
Using file tasks to work with files
The characteristics of the file task dependencies
Creating a folder with the directory method
Using Rake's file utilities
A practical example of automatically generating a config file