Book Image

Rake Task Management Essentials

By : Andrey Koleshko
Book Image

Rake Task Management Essentials

By: Andrey Koleshko

Overview of this book

Table of Contents (18 chapters)
Rake Task Management Essentials
About the Author
About the Reviewers

Chapter 2. Working with Files

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